svn commit: samba r7525 - in branches/SAMBA_4_0/source: client
include lib lib/cmdline lib/registry/tools smbd torture utils
utils/net
abartlet at samba.org
abartlet at samba.org
Mon Jun 13 08:12:40 GMT 2005
Author: abartlet
Date: 2005-06-13 08:12:39 +0000 (Mon, 13 Jun 2005)
New Revision: 7525
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7525
Log:
Unify lp_load(), load_interfaces and logging setup into popt().
There is now a new --debug-stderr option to enable debug to STDERR.
popt isn't perfect, but the callbacks are used in all the main Samba
binaries, and should be used in the rest. This avoids duplicated
code, and ensures every binary is setup correctly.
This also ensures the setup happens early enough to have -s function,
and have a correct impact on the credentials code. (Fixing a bug that
frustrated tridge earlier today).
The only 'subtle' aspect of all this is that I'm pretty sure that the
SAMBA_COMMON popt code must be above the CREDENTIALS code, in the
popt tables.
Andrew Bartlett
Modified:
branches/SAMBA_4_0/source/client/client.c
branches/SAMBA_4_0/source/include/debug.h
branches/SAMBA_4_0/source/lib/cmdline/popt_common.c
branches/SAMBA_4_0/source/lib/debug.c
branches/SAMBA_4_0/source/lib/registry/tools/regdiff.c
branches/SAMBA_4_0/source/lib/registry/tools/regpatch.c
branches/SAMBA_4_0/source/lib/registry/tools/regshell.c
branches/SAMBA_4_0/source/lib/registry/tools/regtree.c
branches/SAMBA_4_0/source/smbd/server.c
branches/SAMBA_4_0/source/torture/smbiconv.c
branches/SAMBA_4_0/source/torture/torture.c
branches/SAMBA_4_0/source/utils/ndrdump.c
branches/SAMBA_4_0/source/utils/net/net.c
branches/SAMBA_4_0/source/utils/nmblookup.c
branches/SAMBA_4_0/source/utils/ntlm_auth.c
Changeset:
Sorry, the patch is too large (500 lines) to include; please use WebSVN to see it!
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=7525
More information about the samba-cvs
mailing list