summaryrefslogtreecommitdiffstats
path: root/source/python/py_common.c
Commit message (Collapse)AuthorAgeFilesLines
* Cleanup of header files for python extensions.Tim Potter2003-02-181-4/+1
| | | | | | - combine py_foo_proto.h and py_foo.h - move #include of Python.h into one place so we can get rid of that annoying compiler warning about HAVE_FSTAT being redefined
* Fixed some globals that escaped the recent globalcide.Tim Potter2002-11-221-8/+1
|
* Add extra parm to cli_full_connection call. Tim, you should probably look ↵Jim McDonough2002-10-181-1/+1
| | | | at this.
* Fix for new arguments of cli_nt_session_open()Tim Potter2002-10-171-4/+3
|
* Check no extra fields are present when parsing credentials.Tim Potter2002-09-091-2/+17
|
* Fix transposed args in open_pipe_creds() function.Tim Potter2002-09-021-1/+1
|
* Broke out unpacking of a username/password stored in a PythonTim Potter2002-08-021-28/+72
| | | | dictionary into a separate function.
* Compile fix for flags field to cli_full_connection()Tim Potter2002-07-111-1/+1
|
* Compile fix for new arguments to cli_full_connection()Tim Potter2002-06-201-9/+2
|
* 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