summaryrefslogtreecommitdiff
path: root/source3/python/py_common.c
AgeCommit message (Collapse)AuthorFilesLines
2002-05-27Convert open_pipe_creds() to use new cli_full_connection() interface.Tim Potter1-31/+28
Initialise global_myname in py_samba_init() function. (This used to be commit e5dcd3c7ccf0060d86a484b8307f747805b20c5f)
2002-05-17Added a utility function to extract the info key from a dictionary.Tim Potter1-0/+17
(This used to be commit 4cafbcb205af11c478a2d9047554315915933e5d)
2002-05-16More cleanups.Tim Potter1-30/+13
- removed dodgy fprintf() error handling - return an error string from open_pipe_creds() so the appropriate exception can be raised by the caller - reformatting (This used to be commit d35cad359df3bd53e6bb49f6655d4c7b9993abb0)
2002-05-16Refactored open_pipe_creds() function to remove unused parameter.Tim Potter1-9/+13
(This used to be commit 36ed06cb5078429445f3bbb0f69baa2e0f8356a4)
2002-04-14Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). NotTim Potter1-3/+20
sure whether these should really be tuples or lists. In open_pipe_creds() raise PyExc_RuntimeError exceptions if the pipe connect function returns an error. (This used to be commit 45cb1fed490d1fdafc5b63f2f5a33dfe5b334972)
2002-04-14Moved open_pipe_creds() function to common file.Tim Potter1-0/+78
(This used to be commit 14e4d889a236dd9c2ba6db68b3133e44195b8a47)
2002-04-11Implemented a setup_logging() function that takes two keywords:Tim Potter1-5/+58
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-05Added functions to return Python tuples (error code, error string)Tim Potter1-0/+17
corresponding to NT and DOS errors. (This used to be commit cb243e2766260f03de6b748d20734b8183cf192b)
2002-03-20Initial version.Tim Potter1-0/+47
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)