summaryrefslogtreecommitdiff
path: root/source3/python
AgeCommit message (Collapse)AuthorFilesLines
2002-04-11Implemented a setup_logging() function that takes two keywords:Tim Potter1-1/+10
interactive and logfilename. These can be used to send Samba DEBUG() output to stdout or to a logfile which makes automated testing much funkier. Also added get_debuglevel() and set_debuglevel() functions. Make open_pipe_creds() accept None as a anonymous credential. (This used to be commit 094a51edb9369f5c493bddfdc98347431bea3c2d)
2002-04-11Implemented a setup_logging() function that takes two keywords:Tim Potter2-5/+62
interactive and logfilename. These can be used to send Samba DEBUG() output to stdout or to a logfile which makes automated testing much funkier. Also added get_debuglevel() and set_debuglevel() functions. (This used to be commit 6c7b5e15c22119623ee959267d2755e21193bc4b)
2002-04-11Added a whole bunch more permission constants.Tim Potter1-0/+20
(This used to be commit f8673bd499c7c3993a5860d2ebe9ae2403105316)
2002-04-09Added WERR_INVALID_FORM_NAME constant.Tim Potter1-0/+1
(This used to be commit 908b70f3e23846d0b438a68e45e076e65016e95e)
2002-04-09Fixed setform and addform functions.Tim Potter1-21/+17
(This used to be commit ecba275cf75be3152c917329ba16d77bf4490259)
2002-04-09Added constants for form types and WERROR values.Tim Potter1-0/+38
(This used to be commit 5ef5e805d5f51f6fc4cfcfea7f17adc8d1f6f6eb)
2002-04-05New version of patch.Tim Potter1-13/+15
(This used to be commit 50f331ff33413842590f960d2ab1b11cdbece358)
2002-04-05make protoTim Potter1-0/+46
(This used to be commit 0448c12a56fe508b72be4ce43d2c4d1eb16c5943)
2002-04-05Added new files for drivers, forms and ports conversion routines.Tim Potter1-0/+3
(This used to be commit f9f1d80f6e8c34a24602a83eb7d1fb2c892b662f)
2002-04-05Fixed dodgy looking prototypes for py_to_* functions.Tim Potter1-11/+11
(This used to be commit 847e310921802f5793f6cd170e6baf939151be89)
2002-04-05Removed unused label.Tim Potter1-1/+0
(This used to be commit e0a209bf291553ec85dbd56cffab2a97440cea28)
2002-04-05Converted drivers, forms and ports functions to use new conversion routinesTim Potter6-145/+304
and exception throwing. (This used to be commit ed0a6480f75b3eefc52bc3311d8c3816abefcff2)
2002-04-05Added py_spoolss_printers_conv.c to spoolss extension.Tim Potter1-0/+1
(This used to be commit d1e2356f13de8598237926d093069832f1393c36)
2002-04-05make protoTim Potter1-0/+2
(This used to be commit c8278b0a929c779dd234a1e617bb0f3d2a039cfe)
2002-04-05New routines to convert between structures and python dictionaries. We nowTim Potter1-0/+367
hide to_struct() and from_struct() from the caller so we can add custom fields nicely. (This used to be commit 07d79f4aa8de8e7a08555a62faafd79573a95e74)
2002-04-05Throw a spoolss.werror exception when the rpc client routines returnTim Potter1-272/+80
errors. Move to new system of converting between structures and python dictionaries. Lots of stuff moved to py_spoolss_printers_conv.c Setprinter level 2 kind of works now. (This used to be commit abe39ebcc125362125f0f900102b0f8d6011324b)
2002-04-05Don't include py_spoolss_conv.h by default. We want to hide theseTim Potter1-1/+0
functions from method functions. (This used to be commit bbf905e29e787ac350c0b4153c0b7050d8bf5734)
2002-04-05Added functions to return Python tuples (error code, error string)Tim Potter2-0/+19
corresponding to NT and DOS errors. (This used to be commit cb243e2766260f03de6b748d20734b8183cf192b)
2002-04-03Start to make argument ordering consistent.Tim Potter2-5/+6
(This used to be commit e84cc7ea84042b2460baef32a39448d620612bbc)
2002-04-03Docstring updates.Tim Potter1-22/+103
(This used to be commit f05c3c6fc5047c87906a5677b2559acf13bf6678)
2002-04-03Use Py_InitModule3() instead of Py_InitModule4() when we only want to setTim Potter1-6/+8
the docstring for the module. Doc updates. (This used to be commit ba5364b30688924d6b69b9fc39a398441a6149e7)
2002-03-28Aborted experiment to avoid namespace pollution and prototype hell andTim Potter10-62/+111
moved to 'make proto' based solution. (This used to be commit 1e48f872a494228e82fd32c789b3dcea6b014211)
2002-03-28Use winbind separator in sid_to_name() function.Tim Potter1-20/+182
Implemented auth() and auth_crap() functions. Expanded docstrings for exported functions, with examples. Now 'pydoc winbind' returns a nice looking manual page! Wrote module docstring. (This used to be commit 26a7333347e630d2f5ff9d017536d21ac4ecaa81)
2002-03-28Updated version.Tim Potter1-23/+26
(This used to be commit a66e04711a2a9d4514df52addb1256a008eff880)
2002-03-28Script to generate patch to Makefile.in and configure.inTim Potter1-0/+6
Run like: python/mkpatch (This used to be commit 54f2aa437a9c7bf9f6743a31f70fbd56ecda3173)
2002-03-27Converted to #include *.c format.Tim Potter2-16/+12
(This used to be commit 992cbfe98b4131f0aef96da3ddeee00d3d4a1fb1)
2002-03-27Broke out stuff into other files.Tim Potter1-743/+19
(This used to be commit 9eb3eb8513e82ec11cb8db671cfb5be45619d3fd)
2002-03-27Moved pyconv definitions across.Tim Potter1-4/+19
Fixed misc compile problems. (This used to be commit 723bfa1a857b4c3e114b7e510c8f991ba73c1ba1)
2002-03-27Fixed bug in guards.Tim Potter1-1/+1
(This used to be commit 22990c3dda92278ad813dd20bebb243ed38388aa)
2002-03-27Converted to #include *.c format to avoid namespace pollution andTim Potter2-58/+0
header file madness. (This used to be commit 0f179ebf7e35b12b99b58cc42e16efa5b50230a4)
2002-03-27Moved general printer related calls here.Tim Potter1-0/+558
(This used to be commit eb8cd68bc9c7c7c52a066479712c93e62f0ba5d5)
2002-03-27Moved printer driver related calls here.Tim Potter1-0/+295
(This used to be commit d4b8000e1f2780a805a5ddf8e13906b4146d65e7)
2002-03-26Moved conv functions to separate file.Tim Potter2-211/+99
Converted remaining functions to methods. (This used to be commit 1e894487f59a0c00347fdf28ddea892b40473a6d)
2002-03-26#include "py_conv.h"Tim Potter1-0/+2
(This used to be commit 2c935bc1eab20fd72f0bd4577c0e2140d6fcc3d3)
2002-03-26Added ports and conversion routines.Tim Potter1-1/+3
(This used to be commit eff595d068d40ad833d96e545b9918f91669a13c)
2002-03-26Regenerated patch.Tim Potter1-12/+11
(This used to be commit 34cc49d92988a0d4871b6586776b5d2c9d94de94)
2002-03-26Port related functions.Tim Potter2-0/+127
(This used to be commit 5dc7e350ec784996f7c8bc824624cd0b8347a3b0)
2002-03-26Samba structure <-> Python dictionary helper functions.Tim Potter2-0/+161
(This used to be commit 6c8a2ad16774f67f82d95056817ace5c80928893)
2002-03-26Moved form related functions as methods in the policy handle object.Tim Potter2-58/+49
(This used to be commit 7c4bcc48aa9ff3227673522f32170bcefb0b7208)
2002-03-26Append $(srcdir) to include directories.Tim Potter1-9/+15
(This used to be commit ff526275669a4464ad274fac1b381945adb21719)
2002-03-26Pass $(srcdir) to setup.pyTim Potter1-0/+1
(This used to be commit 1926828c5d9f4adf5498268abbe129e8b9f57a9d)
2002-03-26Renamed internal methods so as not to clash with symbols within Samba.Tim Potter1-23/+175
Set up and use winbind separator in config object. Implemented: - uid to sid - gid to sid - sid to uid - sid to gid Added RID constants. (This used to be commit 9afd17f1541446a9c5252cd4d0d4d13c800ecac8)
2002-03-22Added enumerate trusted domains and check secret.Tim Potter1-1/+112
Added configuration dictionary to retrieve smb.conf parameters. (This used to be commit 4d31151977f358c50986131dbd311c3ee69e9286)
2002-03-20Actually use flags passed in PYTHON_CFLAGS variable.Tim Potter1-21/+33
Use py_common.c in winbind extension module for correct initialisation. Some reformatting. (This used to be commit b1b7ae8bcfafc92c2d475908f4220f3f1ff941a1)
2002-03-20Added enum domain users and enum domain groups.Tim Potter1-22/+77
(This used to be commit ba0624d0c397d49b032f34727c910c0be7014813)
2002-03-20Pass $(CFLAGS) and $(CPPFLAGS) to python compile instead of $(FLAGS)Tim Potter1-1/+1
(This used to be commit 8e4bb2f8a05b37ba508eefe0d0d3f4db103a4418)
2002-03-20Added name_to_sid and sid_to_name functions.Tim Potter1-1/+136
(This used to be commit 5e955b5fcc53b80238bbc178ca0bcd8b3e81c05f)
2002-03-20Remove nsswitch from include directories.Tim Potter1-2/+4
(This used to be commit 19dd8ba8267320c0f219639abe3aa701b69e5c56)
2002-03-20Ignore autogenerated setup.pyTim Potter1-0/+1
(This used to be commit b06fc0cc84a0ba7cfb19c601682351b11a27364c)
2002-03-20Initial version.Tim Potter8-0/+1734
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)