1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-19 21:57:57 +03:00

18 Commits

Author SHA1 Message Date
Tim Potter
d1bedec87c Fixed some globals that escaped the recent globalcide.
(This used to be commit 4580e16908fe06a2c2b6738683b7cb840467e61c)
2002-11-22 06:15:43 +00:00
Jim McDonough
fb3d215b39 Add extra parm to cli_full_connection call. Tim, you should probably look at this.
(This used to be commit a9f632ed5d3d033849c25efac419b21e830c5069)
2002-10-18 17:29:20 +00:00
Tim Potter
dae2b02f78 Fix for new arguments of cli_nt_session_open()
(This used to be commit cfb0c12eb6412c2cc84785c17ab2f6c89916aa56)
2002-10-17 04:40:53 +00:00
Tim Potter
bffdffcbb1 Check no extra fields are present when parsing credentials.
(This used to be commit fff081d3440373071d8859b7a7d71cf6489126a4)
2002-09-09 01:06:20 +00:00
Tim Potter
d75fc27fa1 Fix transposed args in open_pipe_creds() function.
(This used to be commit 63e59b0b737a1cd4ccc588b27e86be8262296052)
2002-09-02 07:42:39 +00:00
Tim Potter
81a4862ae7 Broke out unpacking of a username/password stored in a Python
dictionary into a separate function.
(This used to be commit 10889241d5f5813f499501a45edccc4acd3e9f74)
2002-08-02 05:28:54 +00:00
Tim Potter
cad934c8e9 Compile fix for flags field to cli_full_connection()
(This used to be commit 802f30a1b34888823c1fc80121b3917cb6825119)
2002-07-11 22:19:31 +00:00
Tim Potter
d35c5f39a5 Compile fix for new arguments to cli_full_connection()
(This used to be commit 0d05c8ce54c3fa859abb8bd2ac13cacaed63e95c)
2002-06-20 00:51:07 +00:00
Tim Potter
d80f078647 Separate error handling for cli_full_connection() and cli_nt_session_open()
(This used to be commit 6f269de03e91b823a30a2a12e41f25f1fa050870)
2002-05-28 03:15:09 +00:00
Tim Potter
f2cbcec5a4 Convert open_pipe_creds() to use new cli_full_connection() interface.
Initialise global_myname in py_samba_init() function.
(This used to be commit e5dcd3c7ccf0060d86a484b8307f747805b20c5f)
2002-05-27 06:32:11 +00:00
Tim Potter
1ab45841cc Added a utility function to extract the info key from a dictionary.
(This used to be commit 4cafbcb205af11c478a2d9047554315915933e5d)
2002-05-17 02:25:37 +00:00
Tim Potter
286d3a80fd More cleanups.
- 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-16 04:00:31 +00:00
Tim Potter
ce03ce2e56 Refactored open_pipe_creds() function to remove unused parameter.
(This used to be commit 36ed06cb5078429445f3bbb0f69baa2e0f8356a4)
2002-05-16 02:24:22 +00:00
Tim Potter
0c01601d31 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.
(This used to be commit 45cb1fed490d1fdafc5b63f2f5a33dfe5b334972)
2002-04-14 23:39:02 +00:00
Tim Potter
8d994f432d Moved open_pipe_creds() function to common file.
(This used to be commit 14e4d889a236dd9c2ba6db68b3133e44195b8a47)
2002-04-14 00:58:16 +00:00
Tim Potter
d0e6af62d6 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.
(This used to be commit 6c7b5e15c22119623ee959267d2755e21193bc4b)
2002-04-11 05:04:05 +00:00
Tim Potter
f243d4e7c8 Added functions to return Python tuples (error code, error string)
corresponding to NT and DOS errors.
(This used to be commit cb243e2766260f03de6b748d20734b8183cf192b)
2002-04-05 04:47:43 +00:00
Tim Potter
d07cc9d8a1 Initial version.
(This used to be commit d35770d06f7bc396cf32337a4e1104b5fe8a3ca8)
2002-03-20 03:29:03 +00:00