summaryrefslogtreecommitdiffstats
path: root/source/python/py_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Separate error handling for cli_full_connection() and cli_nt_session_open()Tim Potter2002-05-281-2/+7
|
* Convert open_pipe_creds() to use new cli_full_connection() interface.Tim Potter2002-05-271-31/+28
| | | | Initialise global_myname in py_samba_init() function.
* Added a utility function to extract the info key from a dictionary.Tim Potter2002-05-171-0/+17
|
* More cleanups.Tim Potter2002-05-161-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
* Refactored open_pipe_creds() function to remove unused parameter.Tim Potter2002-05-161-9/+13
|
* Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). NotTim Potter2002-04-141-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.
* Moved open_pipe_creds() function to common file.Tim Potter2002-04-141-0/+78
|
* Implemented a setup_logging() function that takes two keywords:Tim Potter2002-04-111-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.
* Added functions to return Python tuples (error code, error string)Tim Potter2002-04-051-0/+17
| | | | corresponding to NT and DOS errors.
* Initial version.Tim Potter2002-03-201-0/+47