1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-08 21:18:16 +03:00
samba-mirror/source3/python
2002-10-30 14:52:53 +00:00
..
examples Test both new samba.tdbpack and oldtdbutil pack/unpack routines. 2002-10-21 11:44:26 +00:00
samba Implement printerdata_ex as Python dictionary. Read only at the moment. 2002-09-19 00:14:01 +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
mkpatch Script to generate patch to Makefile.in and configure.in 2002-03-28 00:04:45 +00:00
py_common_proto.h make proto 2002-10-17 04:48:08 +00:00
py_common.c Add extra parm to cli_full_connection call. Tim, you should probably look at this. 2002-10-18 17:29:20 +00:00
py_common.h Refactored open_pipe_creds() function to remove unused parameter. 2002-05-16 02:24:22 +00:00
py_conv.c Added char *, uid_t and gid_t types to generic conversion routines. 2002-09-11 04:54:20 +00:00
py_conv.h Added char *, uid_t and gid_t types to generic conversion routines. 2002-09-11 04:54:20 +00:00
py_lsa_proto.h make proto 2002-04-18 03:24:02 +00:00
py_lsa.c open_pipe_creds() now takes a pipe index instead of a pipe name. 2002-10-17 04:45:25 +00:00
py_lsa.h Some rearrangement of header files. 2002-05-27 06:23:30 +00:00
py_ntsec.c More automatically generated prototype madness. 2002-05-27 06:39:10 +00:00
py_samba.c Whoops - this should be in py_smb.c 2002-10-21 08:23:20 +00:00
py_samr_conv.c Implemented enum_domain_groups function. 2002-08-27 01:49:51 +00:00
py_samr.c open_pipe_creds() now takes a pipe index instead of a pipe name. 2002-10-17 04:45:25 +00:00
py_samr.h Renamed policy handle field in object containers to avoid cut&paste bugs. 2002-06-20 00:56:27 +00:00
py_smb.c Fix boog in argument list for nt_create_andx. 2002-10-30 14:52:53 +00:00
py_smb.h Skeleton for a libsmb python wrapper. 2002-07-29 03:50:35 +00:00
py_spoolss_drivers_conv.c Fixed DRIVER_INFO_3 conversion function to check for dependent_files 2002-10-21 04:12:47 +00:00
py_spoolss_drivers.c Zero some more return values. 2002-10-21 04:44:44 +00:00
py_spoolss_forms_conv.c More cleanups of validation functions. 2002-10-21 04:47:29 +00:00
py_spoolss_forms.c Pass level keyword down to cli_spoolss_getform() 2002-09-09 04:42:01 +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 level should be a uint32 in enum_ports function. 2002-10-21 04:17:43 +00:00
py_spoolss_printerdata.c Fixed bug in keyword args for enumprinterdataex 2002-09-19 05:29:14 +00:00
py_spoolss_printers_conv.c More cleanups of validation functions. 2002-10-21 04:47:29 +00:00
py_spoolss_printers.c open_pipe_creds() now takes a pipe index instead of a pipe name. 2002-10-17 04:45:25 +00:00
py_spoolss_proto.h make proto 2002-09-02 07:44:48 +00:00
py_spoolss.c Added methods for getprinterdataex, setprinterdataex and enumprinterdataex. 2002-09-02 07:44:00 +00:00
py_spoolss.h Some rearrangement of header files. 2002-05-27 06:23:30 +00:00
py_tdb.c Another change to the GPL "abandon hope all who enter here" warning. 2002-05-23 02:36:53 +00:00
py_tdb.h Some rearrangement of header files. 2002-05-27 06:23:30 +00:00
py_tdbpack.c Give better error messages for TypeError, which will arise if e.g. you 2002-10-21 07:41:08 +00:00
py_winbind_conv.c Implemented getpw{nam,uid} functions. 2002-09-11 04:55:45 +00:00
py_winbind.c Implemented getpw{nam,uid} functions. 2002-09-11 04:55:45 +00:00
py_winreg.c General cleanup of compiler warnings etc. 2002-05-14 02:37:47 +00:00
py_winreg.h Some rearrangement of header files. 2002-05-27 06:23:30 +00:00
README Update documentation for newly merged modules 2002-09-09 06:26:41 +00:00
setup.py The libsmb module uses py_ntsec.o 2002-10-21 09:54:41 +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!