1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00
samba-mirror/source4/python
Andrew Tridgell ef2e26c91b first public release of samba4 code
(This used to be commit b0510b5428)
2003-08-13 01:53:07 +00:00
..
examples first public release of samba4 code 2003-08-13 01:53:07 +00:00
samba first public release of samba4 code 2003-08-13 01:53:07 +00:00
.cvsignore first public release of samba4 code 2003-08-13 01:53:07 +00:00
gprinterdata first public release of samba4 code 2003-08-13 01:53:07 +00:00
gtdbtool first public release of samba4 code 2003-08-13 01:53:07 +00:00
gtkdictbrowser.py first public release of samba4 code 2003-08-13 01:53:07 +00:00
mkpatch first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_common.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_common.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_conv.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_lsa.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_lsa.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_ntsec.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_samba.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_samr_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_samr.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_samr.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_smb.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_smb.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_common.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_drivers_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_drivers.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_forms_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_forms.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_jobs_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_jobs.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_ports_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_ports.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_printerdata.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_printers_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss_printers.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_spoolss.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_srvsvc_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_srvsvc.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_srvsvc.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_tdb.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_tdb.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_tdbpack.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_winbind_conv.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_winbind.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_winbind.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_winreg.c first public release of samba4 code 2003-08-13 01:53:07 +00:00
py_winreg.h first public release of samba4 code 2003-08-13 01:53:07 +00:00
README first public release of samba4 code 2003-08-13 01:53:07 +00:00
setup.py first public release of samba4 code 2003-08-13 01:53:07 +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!