1
0
mirror of https://github.com/samba-team/samba.git synced 2025-06-23 11:17:06 +03:00

5 Commits

Author SHA1 Message Date
Tim Potter
45cb1fed49 Explicitly return a list in py_ntstatus_tuple() and py_werror_typle(). Not
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.
-
Tim Potter
14e4d889a2 Moved open_pipe_creds() function to common file. -
Tim Potter
6c7b5e15c2 Implemented a setup_logging() function that takes two keywords:
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.
-
Tim Potter
cb243e2766 Added functions to return Python tuples (error code, error string)
corresponding to NT and DOS errors.
-
Tim Potter
d35770d06f Initial version. -