1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +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 make proto 0001-01-01 00:00:00 +00:00
py_common.c Fixed some globals that escaped the recent globalcide. 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 Fixed silly bug. 0001-01-01 00:00:00 +00:00
py_conv.h Fixed some compiler warnings. 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 Moved function to parse a list of unicode strings into util file. 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 More cleanups of validation functions. 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 Added enumprinterkey function. 0001-01-01 00:00:00 +00:00
py_spoolss_printers_conv.c Fix some argument checking bugs found by testsuite. 0001-01-01 00:00:00 +00:00
py_spoolss_printers.c Rename a local variable to avoid a warning. 0001-01-01 00:00:00 +00:00
py_spoolss_proto.h Added enumprinterkey function. 0001-01-01 00:00:00 +00:00
py_spoolss.c Added enumprinterkey function. 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 CR1333: Fix memory leak when unpacking some structures. 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 Added some extra code to test absence/presence of LM and NT passwords. 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 Some more tweaking for compilation of py_tdbpack. 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!