1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-30 13:18:05 +03:00
samba-mirror/source3/python
Tim Potter 2238286425 Started working on python routines to add and delete domain users.
Unfortunately users get created with the ACB mask set to disabled and
must change password.  The set_user_info2 call required to fix this
doesn't quite work yet...
(This used to be commit 55a341a367)
2003-03-24 06:31:49 +00:00
..
examples * Ignore .pyc and .pyo files produced as a side-effect of running 2002-12-12 04:44:47 +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.c Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_common.h Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_conv.c Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_conv.h Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_lsa.c GCC 3.x has deprecated multi-line string constants. 2003-03-19 11:26:01 +00:00
py_lsa.h Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_ntsec.c Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_samr_conv.c Started working on python routines to add and delete domain users. 2003-03-24 06:31:49 +00:00
py_samr.c Started working on python routines to add and delete domain users. 2003-03-24 06:31:49 +00:00
py_samr.h Started working on python routines to add and delete domain users. 2003-03-24 06:31:49 +00:00
py_smb.c Finish adding strings to all talloc_init() calls. 2002-12-23 23:53:56 +00:00
py_smb.h Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_spoolss_common.c Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_spoolss_drivers_conv.c Moved function to parse a list of unicode strings into util file. 2002-11-06 23:34:12 +00:00
py_spoolss_drivers.c Finish adding strings to all talloc_init() calls. 2002-12-23 23:53:56 +00:00
py_spoolss_forms_conv.c reverted this patch till I sort out the craziness with UNIHDR 2003-01-17 06:15:18 +00:00
py_spoolss_forms.c reverted this patch till I sort out the craziness with UNIHDR 2003-01-17 06:15:18 +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 Finish adding strings to all talloc_init() calls. 2002-12-23 23:53:56 +00:00
py_spoolss_printerdata.c Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_spoolss_printers_conv.c Fix some argument checking bugs found by testsuite. 2002-11-25 00:25:31 +00:00
py_spoolss_printers.c Rename a local variable to avoid a warning. 2003-01-07 03:39:22 +00:00
py_spoolss.c GCC 3.x has deprecated multi-line string constants. 2003-03-19 11:26:01 +00:00
py_spoolss.h Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_srvsvc_conv.c Removed unused variable. 2003-03-19 11:22:57 +00:00
py_srvsvc.c GCC 3.x has deprecated multi-line string constants. 2003-03-19 11:26:01 +00:00
py_srvsvc.h Add function prototype. 2003-03-19 11:22:32 +00:00
py_tdb.c Fix compiler warning. 2003-03-19 11:25:21 +00:00
py_tdb.h Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_tdbpack.c GCC 3.x has deprecated multi-line string constants. 2003-03-19 11:26:01 +00:00
py_winbind_conv.c Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_winbind.c GCC 3.x has deprecated multi-line string constants. 2003-03-19 11:26:01 +00:00
py_winbind.h Cleanup of header files for python extensions. 2003-02-18 05:05:15 +00:00
py_winreg.c General cleanup of compiler warnings etc. 2002-05-14 02:37:47 +00:00
py_winreg.h Fix compiler warning. 2003-03-19 11:25:21 +00:00
README Update documentation for newly merged modules 2002-09-09 06:26:41 +00:00
setup.py Started working on python routines to add and delete domain users. 2003-03-24 06:31:49 +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!