1
0
mirror of https://github.com/samba-team/samba.git synced 2025-07-26 03:42:04 +03:00
Commit Graph

23 Commits

Author SHA1 Message Date
7ca24b9966 r15299: Fix import of Python modules. Fixes Bug #3567.
The REGVAL_CTR part is taken from Daniel Jarboe's
patch he filed with the bug report.

deryck
2007-10-10 11:16:32 -05:00
f2a24de769 r13212: r12414@cabra: derrell | 2006-01-28 17:52:17 -0500
lp_load() could not be called multiple times to modify parameter settings based
 on reading from multiple configuration settings.  Each time, it initialized all
 of the settings back to their defaults before reading the specified
 configuration file.

 This patch adds a parameter to lp_load() specifying whether the settings should
 be initialized.  It does, however, still force the settings to be initialized
 the first time, even if the request was to not initialize them.  (Not doing so
 could wreak havoc due to uninitialized values.)
2007-10-10 11:06:18 -05:00
4d971806f4 r4238: More *alloc fixes.
Jeremy.
2007-10-10 10:53:39 -05:00
879309671d Add a command line option (-S on|off|required) to enable signing on client
connections. Overrides smb.conf parameter if set.
Jeremy.
-
dbea592877 Merge of cleanups and srvsvc implementation from HEAD. -
7adb6af115 Merge of global_myname() fixes from HEAD. -
0310e539bb Sync with HEAD. -
42f04bbbb2 Add extra parm to cli_full_connection. Tim, you should probably take a look at this. -
fff081d344 Check no extra fields are present when parsing credentials. -
63e59b0b73 Fix transposed args in open_pipe_creds() function. -
10889241d5 Broke out unpacking of a username/password stored in a Python
dictionary into a separate function.
-
802f30a1b3 Compile fix for flags field to cli_full_connection() -
0d05c8ce54 Compile fix for new arguments to cli_full_connection() -
6f269de03e Separate error handling for cli_full_connection() and cli_nt_session_open() -
e5dcd3c7cc Convert open_pipe_creds() to use new cli_full_connection() interface.
Initialise global_myname in py_samba_init() function.
-
4cafbcb205 Added a utility function to extract the info key from a dictionary. -
d35cad359d 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
-
36ed06cb50 Refactored open_pipe_creds() function to remove unused parameter. -
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.
-
14e4d889a2 Moved open_pipe_creds() function to common file. -
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.
-
cb243e2766 Added functions to return Python tuples (error code, error string)
corresponding to NT and DOS errors.
-
d35770d06f Initial version. -