1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-12 09:18:10 +03:00
samba-mirror/source/python
0001-01-01 00:00:00 +00:00
..
examples * Ignore .pyc and .pyo files produced as a side-effect of running 0001-01-01 00:00:00 +00:00
samba Implement printerdata_ex as Python dictionary. Read only at the moment. 0001-01-01 00:00:00 +00:00
.cvsignore Python's setup.py does not need to be munged by configure.in -- it is 0001-01-01 00:00:00 +00:00
gprinterdata Fix imports for printerdata browser. 0001-01-01 00:00:00 +00:00
gtdbtool Change 'import spoolss' to 'from samba import spoolss'. 0001-01-01 00:00:00 +00:00
gtkdictbrowser.py Display the repr() of non-string dictionary values. 0001-01-01 00:00:00 +00:00
mkpatch Script to generate patch to Makefile.in and configure.in 0001-01-01 00:00:00 +00:00
py_common_proto.h Sync with HEAD. 0001-01-01 00:00:00 +00:00
py_common.c Merge of global_myname() fixes from HEAD. 0001-01-01 00:00:00 +00:00
py_common.h Refactored open_pipe_creds() function to remove unused parameter. 0001-01-01 00:00:00 +00:00
py_conv.c Merge a bunch of trivial changes from HEAD. The difference remaining 0001-01-01 00:00:00 +00:00
py_conv.h Merge of compiler warning fixes from HEAD. 0001-01-01 00:00:00 +00:00
py_lsa_proto.h make proto 0001-01-01 00:00:00 +00:00
py_lsa.c Finish adding strings to all talloc_init() calls. 0001-01-01 00:00:00 +00:00
py_lsa.h Some rearrangement of header files. 0001-01-01 00:00:00 +00:00
py_ntsec.c More automatically generated prototype madness. 0001-01-01 00:00:00 +00:00
py_samba.c Whoops - this should be in py_smb.c 0001-01-01 00:00:00 +00:00
py_samr_conv.c Implemented enum_domain_groups function. 0001-01-01 00:00:00 +00:00
py_samr.c Finish adding strings to all talloc_init() calls. 0001-01-01 00:00:00 +00:00
py_samr.h Renamed policy handle field in object containers to avoid cut&paste bugs. 0001-01-01 00:00:00 +00:00
py_smb.c Finish adding strings to all talloc_init() calls. 0001-01-01 00:00:00 +00:00
py_smb.h Skeleton for a libsmb python wrapper. 0001-01-01 00:00:00 +00:00
py_spoolss_drivers_conv.c Sync up python stuff from HEAD. 0001-01-01 00:00:00 +00:00
py_spoolss_drivers.c Finish adding strings to all talloc_init() calls. 0001-01-01 00:00:00 +00:00
py_spoolss_forms_conv.c Merge. 0001-01-01 00:00:00 +00:00
py_spoolss_forms.c Pass level keyword down to cli_spoolss_getform() 0001-01-01 00:00:00 +00:00
py_spoolss_jobs_conv.c Honour return value of to_struct() when converting to Samba structures. 0001-01-01 00:00:00 +00:00
py_spoolss_jobs.c Fixed enumjobs command to use new JOB_INFO_CTR structure. 0001-01-01 00:00:00 +00:00
py_spoolss_ports_conv.c Converted drivers, forms and ports functions to use new conversion routines 0001-01-01 00:00:00 +00:00
py_spoolss_ports.c Finish adding strings to all talloc_init() calls. 0001-01-01 00:00:00 +00:00
py_spoolss_printerdata.c Sync up python stuff from HEAD. 0001-01-01 00:00:00 +00:00
py_spoolss_printers_conv.c Merge of argument check fixes from HEAD. 0001-01-01 00:00:00 +00:00
py_spoolss_printers.c Sync up compiler warning fixes. 0001-01-01 00:00:00 +00:00
py_spoolss_proto.h Sync up python stuff from HEAD. 0001-01-01 00:00:00 +00:00
py_spoolss.c Sync up python stuff from HEAD. 0001-01-01 00:00:00 +00:00
py_spoolss.h Some rearrangement of header files. 0001-01-01 00:00:00 +00:00
py_tdb.c Another change to the GPL "abandon hope all who enter here" warning. 0001-01-01 00:00:00 +00:00
py_tdb.h Some rearrangement of header files. 0001-01-01 00:00:00 +00:00
py_tdbpack.c Merge from HEAD: 0001-01-01 00:00:00 +00:00
py_winbind_conv.c Implemented getpw{nam,uid} functions. 0001-01-01 00:00:00 +00:00
py_winbind.c Merge from HEAD: 0001-01-01 00:00:00 +00:00
py_winreg.c General cleanup of compiler warnings etc. 0001-01-01 00:00:00 +00:00
py_winreg.h Some rearrangement of header files. 0001-01-01 00:00:00 +00:00
README Update documentation for newly merged modules 0001-01-01 00:00:00 +00:00
setup.py Merge of compile tweaks for python tdbpack module. 0001-01-01 00:00:00 +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!