3 Lines prepended with a $ indicate shell commands.
7 In order to be able to compile samba-python you need to have
8 python and the python-dev packages installed.
10 2. Checking out the CVS HEAD branch of Samba and Samba-Python
14 $ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot login
16 When asked for a password, type 'cvs'.
20 $ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co samba
22 This might probably take a while. When everything is downloaded,
23 check out the samba-python tree:
25 $ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co samba-python
27 Now that you have both cvs modules, move the directory 'samba-python' to
28 inside the samba source tree, using:
30 $ mv samba-python samba/source/python
32 Now, go to the samba/source directory and apply the samba-head.patch patch:
34 $ cd samba/source && patch -p0 < location/to/samba-python/samba-head.patch
36 You can now configure samba as usual and create the python extension:
42 Now, you can install the modules:
44 $ cp build/lib.*/*.so /usr/lib/python2.1/lib-dynload/
46 (the directory /usr/lib/python2.1 may vary, depending on your installation)
48 Samba-python should work now!