summaryrefslogtreecommitdiff
path: root/source3/python/py_common.c
AgeCommit message (Collapse)AuthorFilesLines
2003-07-30Add a command line option (-S on|off|required) to enable signing on clientJeremy Allison1-1/+1
connections. Overrides smb.conf parameter if set. Jeremy. (This used to be commit 879309671df6b530e0bff69559422a417da4a307)
2003-02-19Merge of cleanups and srvsvc implementation from HEAD.Tim Potter1-4/+1
(This used to be commit dbea592877ad12f270805a9d8a86a50985beaf66)
2002-11-29Merge of global_myname() fixes from HEAD.Tim Potter1-8/+1
(This used to be commit 7adb6af115dfc1189c2894d45a796b7b8dfe7a05)
2002-11-04Sync with HEAD.Tim Potter1-4/+3
(This used to be commit 0310e539bb41f569c7ae77b2d131e966adefa27b)
2002-10-18Add extra parm to cli_full_connection. Tim, you should probably take a look ↵Jim McDonough1-1/+1
at this. (This used to be commit 42f04bbbb220843dc545ae67417243797f39f429)
2002-09-09Check no extra fields are present when parsing credentials.Tim Potter1-2/+17
(This used to be commit fff081d3440373071d8859b7a7d71cf6489126a4)
2002-09-02Fix transposed args in open_pipe_creds() function.Tim Potter1-1/+1
(This used to be commit 63e59b0b737a1cd4ccc588b27e86be8262296052)
2002-08-02Broke out unpacking of a username/password stored in a PythonTim Potter1-28/+72
dictionary into a separate function. (This used to be commit 10889241d5f5813f499501a45edccc4acd3e9f74)
2002-07-11Compile fix for flags field to cli_full_connection()Tim Potter1-1/+1
(This used to be commit 802f30a1b34888823c1fc80121b3917cb6825119)
2002-06-20Compile fix for new arguments to cli_full_connection()Tim Potter1-9/+2
(This used to be commit 0d05c8ce54c3fa859abb8bd2ac13cacaed63e95c)
2002-05-28Separate error handling for cli_full_connection() and cli_nt_session_open()Tim Potter1-2/+7
(This used to be commit 6f269de03e91b823a30a2a12e41f25f1fa050870)
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)