1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-29 11:21:54 +03:00
samba-mirror/source3/python
Jeremy Allison fbdcf2663b r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need
to do the upper layer directories but this is what
everyone is waiting for....

Jeremy.
(This used to be commit 9dafb7f48c)
2007-10-10 11:19:14 -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 Fix imports for printerdata browser. 2002-09-11 04:50:18 +00:00
gtdbtool Change 'import spoolss' to 'from samba import spoolss'. 2002-09-11 01:20:49 +00:00
gtkdictbrowser.py Display the repr() of non-string dictionary values. 2002-09-18 08:16:22 +00:00
py_common.c r15299: Fix import of Python modules. Fixes Bug #3567. 2007-10-10 11:16:32 -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 Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_conv.h Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_lsa.c r16644: Fix bug #3887 reported by jason@ncac.gwu.edu 2007-10-10 11:19:05 -05:00
py_lsa.h r15385: Some work to bring the python code up to date with the 2007-10-10 11:16:38 -05:00
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 r15386: Missed some functions in my last commit. 2007-10-10 11:16:38 -05:00
py_samr.h r15385: Some work to bring the python code up to date with the 2007-10-10 11:16:38 -05:00
py_smb.c r16945: Sync trunk -> 3.0 for 3.0.24 code. Still need 2007-10-10 11:19:14 -05:00
py_smb.h Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_spoolss_common.c Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_spoolss_drivers_conv.c r6678: fix python python after talloc() shakeup 2007-10-10 10:56:50 -05:00
py_spoolss_drivers.c r15385: Some work to bring the python code up to date with the 2007-10-10 11:16:38 -05:00
py_spoolss_forms_conv.c Fix for #480. Change the interface for init_unistr2 to not take a length 2003-09-25 21:26:16 +00:00
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 Honour return value of to_struct() when converting to Samba structures. 2002-05-27 06:29:58 +00:00
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 Converted drivers, forms and ports functions to use new conversion routines 2002-04-05 05:48:01 +00:00
py_spoolss_ports.c r15385: Some work to bring the python code up to date with the 2007-10-10 11:16:38 -05:00
py_spoolss_printerdata.c r15385: Some work to bring the python code up to date with the 2007-10-10 11:16:38 -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 r15385: Some work to bring the python code up to date with the 2007-10-10 11:16:38 -05:00
py_spoolss.c Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
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 Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_srvsvc.c r15385: Some work to bring the python code up to date with the 2007-10-10 11:16:38 -05:00
py_srvsvc.h Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_tdb.c r15180: Use tdb_lock_bystring_with_timeout(). 2007-10-10 11:16:28 -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 Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_winbind.c r15093: Align to the last winbind changes. 2007-10-10 11:16:22 -05:00
py_winbind.h Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_winreg.c General cleanup of compiler warnings etc. 2002-05-14 02:37:47 +00:00
py_winreg.h Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
README Update documentation for newly merged modules 2002-09-09 06:26:41 +00:00
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!