1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-27 03:21:53 +03:00
samba-mirror/source/python
Jeremy Allison f82c273a42 Fix for #480. Change the interface for init_unistr2 to not take a length
but a flags field. We were assuming that 2*strlen(mb_string) == length of ucs2-le string.
This is not the case. Count it after conversion.
Jeremy.
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
.cvsignore
gprinterdata
gtdbtool
gtkdictbrowser.py
py_common.c Add a command line option (-S on|off|required) to enable signing on client 0001-01-01 00:00:00 +00:00
py_common.h Merge of cleanups and srvsvc implementation from HEAD. 0001-01-01 00:00:00 +00:00
py_conv.c Merge of cleanups and srvsvc implementation from HEAD. 0001-01-01 00:00:00 +00:00
py_conv.h Merge of cleanups and srvsvc implementation from HEAD. 0001-01-01 00:00:00 +00:00
py_lsa.c More patches from Brett: 0001-01-01 00:00:00 +00:00
py_lsa.h Merge of cleanups and srvsvc implementation from HEAD. 0001-01-01 00:00:00 +00:00
py_ntsec.c Ensure that dup_sec_desc copies the 'type' field correctly. This caused 0001-01-01 00:00:00 +00:00
py_samr_conv.c Merge create/delete domain user samr calls from HEAD. 0001-01-01 00:00:00 +00:00
py_samr.c Merge create/delete domain user samr calls from HEAD. 0001-01-01 00:00:00 +00:00
py_samr.h Merge create/delete domain user samr calls from HEAD. 0001-01-01 00:00:00 +00:00
py_smb.c Fix memory leak in py_smb_set_setdesc() 0001-01-01 00:00:00 +00:00
py_smb.h Merge of cleanups and srvsvc implementation from HEAD. 0001-01-01 00:00:00 +00:00
py_spoolss_common.c Cleanup of header files for python extensions. 0001-01-01 00:00:00 +00:00
py_spoolss_drivers_conv.c
py_spoolss_drivers.c update python libraries for new cli_spoolss_getprinterdriver() call 0001-01-01 00:00:00 +00:00
py_spoolss_forms_conv.c Fix for #480. Change the interface for init_unistr2 to not take a length 0001-01-01 00:00:00 +00:00
py_spoolss_forms.c Fix for #480. Change the interface for init_unistr2 to not take a length 0001-01-01 00:00:00 +00:00
py_spoolss_jobs_conv.c
py_spoolss_jobs.c
py_spoolss_ports_conv.c
py_spoolss_ports.c Finish adding strings to all talloc_init() calls. 0001-01-01 00:00:00 +00:00
py_spoolss_printerdata.c Merge of cleanups and srvsvc implementation 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 Merge of compiler warning fixups. 0001-01-01 00:00:00 +00:00
py_spoolss.c Merge of compiler warning fixups. 0001-01-01 00:00:00 +00:00
py_spoolss.h Merge of cleanups and srvsvc implementation from HEAD. 0001-01-01 00:00:00 +00:00
py_srvsvc_conv.c Merge of compiler warning fixups. 0001-01-01 00:00:00 +00:00
py_srvsvc.c Merge of compiler warning fixups. 0001-01-01 00:00:00 +00:00
py_srvsvc.h Merge of compiler warning fixups. 0001-01-01 00:00:00 +00:00
py_tdb.c Merge of compiler warning fixups. 0001-01-01 00:00:00 +00:00
py_tdb.h Merge of cleanups and srvsvc implementation from HEAD. 0001-01-01 00:00:00 +00:00
py_tdbpack.c Merge of compiler warning fixups. 0001-01-01 00:00:00 +00:00
py_winbind_conv.c Merge of cleanups and srvsvc implementation from HEAD. 0001-01-01 00:00:00 +00:00
py_winbind.c Tims' little fix. 0001-01-01 00:00:00 +00:00
py_winbind.h Cleanup of header files for python extensions. 0001-01-01 00:00:00 +00:00
py_winreg.c
py_winreg.h Merge of compiler warning fixups. 0001-01-01 00:00:00 +00:00
README
setup.py Fix for bug #60. Our autoconf code adds both libraries and linker 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!