1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00
samba-mirror/source3/python
Gerald Carter 0af1500fc0 r13316: Let the carnage begin....
Sync with trunk as off r13315
(This used to be commit 17e63ac4ed)
2007-10-10 11:06:23 -05:00
..
examples r39: * importing .cvsignore files 2007-10-10 10:51:05 -05:00
samba r3504: Fix incorrectly applied patch. My fault - sorry! 2007-10-10 10:53:08 -05:00
gprinterdata
gtdbtool
gtkdictbrowser.py
py_common.c r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500 2007-10-10 11:06:18 -05:00
py_common.h r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_conv.c
py_conv.h
py_lsa.c r13316: Let the carnage begin.... 2007-10-10 11:06:23 -05:00
py_lsa.h
py_ntsec.c r6678: fix python python after talloc() shakeup 2007-10-10 10:56:50 -05:00
py_samr_conv.c r8564: Sometimes we're too dumb to live... Fix samr calls where we were 2007-10-10 11:00:09 -05:00
py_samr.c r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_samr.h r8564: Sometimes we're too dumb to live... Fix samr calls where we were 2007-10-10 11:00:09 -05:00
py_smb.c r8435: Use OPENX_FILE_EXISTS_OPEN instead of FILE_EXISTS_OPEN. 2007-10-10 11:00:05 -05:00
py_smb.h
py_spoolss_common.c
py_spoolss_drivers_conv.c r6678: fix python python after talloc() shakeup 2007-10-10 10:56:50 -05:00
py_spoolss_drivers.c r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_spoolss_forms_conv.c
py_spoolss_forms.c r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_spoolss_jobs_conv.c
py_spoolss_jobs.c r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_spoolss_ports_conv.c
py_spoolss_ports.c r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_spoolss_printerdata.c r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_spoolss_printers_conv.c r8431: Ensure to use dev_private and not private after Jeremy's CPP reserved 2007-10-10 11:00:05 -05:00
py_spoolss_printers.c r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_spoolss.c
py_spoolss.h r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_srvsvc_conv.c
py_srvsvc.c r10802: Janitor for tpot - remember to keep 3.0 in sync. 2007-10-10 11:04:54 -05:00
py_srvsvc.h
py_tdb.c r8596: Don't wrap non-existent functions. Bugzilla #2895. 2007-10-10 11:00:12 -05:00
py_tdb.h r384: Relicense tdb python module in trunk and 3.0 branch as LGPL since the 2007-10-10 10:51:21 -05:00
py_tdbpack.c r6678: fix python python after talloc() shakeup 2007-10-10 10:56:50 -05:00
py_winbind_conv.c
py_winbind.c r7882: Looks like a large patch - but what it actually does is make Samba 2007-10-10 10:58:00 -05:00
py_winbind.h
py_winreg.c
py_winreg.h
README
setup.py r13257: Fix python build with older python versions (e.g. 2.2.1) like in United Linux 1 (UL) aka SuSE Linux Enterprise Server (SLES) 8. 2007-10-10 11:06:20 -05:00

This directory contains Python bindings to allow you to access various
aspects of Samba.  At the moment their status is "experimental" and
they are not built by default.

In order to be able to compile samba-python you need to have python
and the python-dev packages installed.

Python libraries are always built for a particular version of Python
(2.2, 2.1, etc), and libraries built for one version will not be seen
by another.  By default Samba's libraries are built for whatever is
installed as "python" on your $PATH, but you can override this using
the --with-python option.  For example

  $ ./configure --with-python=python2.2

To build:

$ 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!