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

22 Commits

Author SHA1 Message Date
Derrell Lipman
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
Jeremy Allison
4d971806f4 r4238: More *alloc fixes.
Jeremy.
2007-10-10 10:53:39 -05:00
Jeremy Allison
879309671d Add a command line option (-S on|off|required) to enable signing on client
connections. Overrides smb.conf parameter if set.
Jeremy.
-
Tim Potter
dbea592877 Merge of cleanups and srvsvc implementation from HEAD. -
Tim Potter
7adb6af115 Merge of global_myname() fixes from HEAD. -
Tim Potter
0310e539bb Sync with HEAD. -
Jim McDonough
42f04bbbb2 Add extra parm to cli_full_connection. Tim, you should probably take a look at this. -
Tim Potter
fff081d344 Check no extra fields are present when parsing credentials. -
Tim Potter
63e59b0b73 Fix transposed args in open_pipe_creds() function. -
Tim Potter
10889241d5 Broke out unpacking of a username/password stored in a Python
dictionary into a separate function.
-
Tim Potter
802f30a1b3 Compile fix for flags field to cli_full_connection() -
Tim Potter
0d05c8ce54 Compile fix for new arguments to cli_full_connection() -
Tim Potter
6f269de03e Separate error handling for cli_full_connection() and cli_nt_session_open() -
Tim Potter
e5dcd3c7cc Convert open_pipe_creds() to use new cli_full_connection() interface.
Initialise global_myname in py_samba_init() function.
-
Tim Potter
4cafbcb205 Added a utility function to extract the info key from a dictionary. -
Tim Potter
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
-
Tim Potter
36ed06cb50 Refactored open_pipe_creds() function to remove unused parameter. -
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. -