1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source3/python
Tim Potter 7850250445 Path for bugzilla #1152 from Timur Bakeyev. Allow python modules to
build despite libraries added to LDFLAGS instead of LDPATH.
(This used to be commit 98a25dcda8)
2004-03-24 23:52:11 +00:00
..
examples * Ignore .pyc and .pyo files produced as a side-effect of running 2002-12-12 04:44:47 +00:00
samba Fix for writable printerdata problem - bugzilla #1112. 2004-02-26 23:04:11 +00:00
.cvsignore Python's setup.py does not need to be munged by configure.in -- it is 2002-09-09 07:49:25 +00: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 Add a command line option (-S on|off|required) to enable signing on client 2003-07-30 23:49:29 +00:00
py_common.h Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00: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 More patches from Brett: 2003-08-04 00:50:00 +00:00
py_lsa.h Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_ntsec.c Ensure that dup_sec_desc copies the 'type' field correctly. This caused 2003-09-19 21:57:43 +00:00
py_samr_conv.c Merge create/delete domain user samr calls from HEAD. 2003-04-14 01:15:11 +00:00
py_samr.c Merge create/delete domain user samr calls from HEAD. 2003-04-14 01:15:11 +00:00
py_samr.h Merge create/delete domain user samr calls from HEAD. 2003-04-14 01:15:11 +00:00
py_smb.c Fix memory leak in py_smb_set_setdesc() 2003-08-04 00:48:49 +00: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 Sync up python stuff from HEAD. 2002-11-07 01:12:24 +00:00
py_spoolss_drivers.c update python libraries for new cli_spoolss_getprinterdriver() call 2003-08-25 21:16:17 +00: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 Fix for #480. Change the interface for init_unistr2 to not take a length 2003-09-25 21:26:16 +00: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 Fixed enumjobs command to use new JOB_INFO_CTR structure. 2002-09-03 04:58:36 +00: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 Finish adding strings to all talloc_init() calls. 2002-12-23 23:54:10 +00:00
py_spoolss_printerdata.c Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_spoolss_printers_conv.c Merge of argument check fixes from HEAD. 2002-11-29 01:11:08 +00:00
py_spoolss_printers.c Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_spoolss.c Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_spoolss.h Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_srvsvc_conv.c Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_srvsvc.c Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_srvsvc.h Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_tdb.c Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_tdb.h Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_tdbpack.c Merge of compiler warning fixups. 2003-03-20 01:05:22 +00:00
py_winbind_conv.c Merge of cleanups and srvsvc implementation from HEAD. 2003-02-19 22:47:49 +00:00
py_winbind.c Tims' little fix. 2003-08-12 21:48:19 +00: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 Path for bugzilla #1152 from Timur Bakeyev. Allow python modules to 2004-03-24 23:52:11 +00: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!