mirror of
https://github.com/samba-team/samba.git
synced 2025-01-04 05:18:06 +03:00
.. | ||
examples/spoolss | ||
samba | ||
.cvsignore | ||
gprinterdata | ||
gtdbtool | ||
gtkdictbrowser.py | ||
mkpatch | ||
printerdata.py | ||
py_common_proto.h | ||
py_common.c | ||
py_common.h | ||
py_conv.c | ||
py_conv.h | ||
py_lsa_proto.h | ||
py_lsa.c | ||
py_lsa.h | ||
py_ntsec.c | ||
py_samba.c | ||
py_samr_conv.c | ||
py_samr.c | ||
py_samr.h | ||
py_smb.c | ||
py_smb.h | ||
py_spoolss_drivers_conv.c | ||
py_spoolss_drivers.c | ||
py_spoolss_forms_conv.c | ||
py_spoolss_forms.c | ||
py_spoolss_jobs_conv.c | ||
py_spoolss_jobs.c | ||
py_spoolss_ports_conv.c | ||
py_spoolss_ports.c | ||
py_spoolss_printerdata.c | ||
py_spoolss_printers_conv.c | ||
py_spoolss_printers.c | ||
py_spoolss_proto.h | ||
py_spoolss.c | ||
py_spoolss.h | ||
py_tdb.c | ||
py_tdb.h | ||
py_winbind.c | ||
py_winreg.c | ||
py_winreg.h | ||
README | ||
samba-head.patch | ||
setup.py.in |
Quick Install Guide -- Lines prepended with a $ indicate shell commands. 1. Requirements In order to be able to compile samba-python you need to have python and the python-dev packages installed. 2. Checking out the CVS HEAD branch of Samba and Samba-Python In your shell, type: $ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot login When asked for a password, type 'cvs'. Now, type: $ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co samba This might probably take a while. When everything is downloaded, check out the samba-python tree: $ cvs -d :pserver:cvs@pserver.samba.org:/cvsroot co samba-python Now that you have both cvs modules, move the directory 'samba-python' to inside the samba source tree, using: $ mv samba-python samba/source/python Now, go to the samba/source directory and apply the samba-head.patch patch: $ cd samba/source && patch -p0 < location/to/samba-python/samba-head.patch You can now configure samba as usual and create the python extension: $ autoconf $ ./configure $ make python_ext Now, you can install the modules: $ cp build/lib.*/*.so /usr/lib/python2.1/lib-dynload/ (the directory /usr/lib/python2.1 may vary, depending on your installation) Samba-python should work now!