svn commit: samba r12544 - branches/SAMBA_3_0/source/nsswitch
branches/SAMBA_3_0/source/utils trunk/source/nsswitch
trunk/source/utils
vlendec at samba.org
vlendec at samba.org
Wed Dec 28 21:10:14 GMT 2005
Author: vlendec
Date: 2005-12-28 21:10:11 +0000 (Wed, 28 Dec 2005)
New Revision: 12544
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12544
Log:
Fix segfaults in winbind, smbpasswd and net
Modified:
branches/SAMBA_3_0/source/nsswitch/winbindd.c
branches/SAMBA_3_0/source/utils/net.c
branches/SAMBA_3_0/source/utils/smbpasswd.c
trunk/source/nsswitch/winbindd.c
trunk/source/utils/net.c
trunk/source/utils/smbpasswd.c
Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd.c 2005-12-28 16:57:50 UTC (rev 12543)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd.c 2005-12-28 21:10:11 UTC (rev 12544)
@@ -932,6 +932,8 @@
fault_setup((void (*)(void *))fault_quit );
+ load_case_tables();
+
/* Initialise for running in non-root mode */
sec_init();
Modified: branches/SAMBA_3_0/source/utils/net.c
===================================================================
--- branches/SAMBA_3_0/source/utils/net.c 2005-12-28 16:57:50 UTC (rev 12543)
+++ branches/SAMBA_3_0/source/utils/net.c 2005-12-28 21:10:11 UTC (rev 12544)
@@ -781,6 +781,8 @@
zero_ip(&opt_dest_ip);
+ load_case_tables();
+
/* set default debug level to 0 regardless of what smb.conf sets */
DEBUGLEVEL_CLASS[DBGC_ALL] = 0;
dbf = x_stderr;
Modified: branches/SAMBA_3_0/source/utils/smbpasswd.c
===================================================================
--- branches/SAMBA_3_0/source/utils/smbpasswd.c 2005-12-28 16:57:50 UTC (rev 12543)
+++ branches/SAMBA_3_0/source/utils/smbpasswd.c 2005-12-28 21:10:11 UTC (rev 12544)
@@ -569,6 +569,8 @@
local_flags = LOCAL_AM_ROOT;
}
+ load_case_tables();
+
local_flags = process_options(argc, argv, local_flags);
setup_logging("smbpasswd", True);
Modified: trunk/source/nsswitch/winbindd.c
===================================================================
--- trunk/source/nsswitch/winbindd.c 2005-12-28 16:57:50 UTC (rev 12543)
+++ trunk/source/nsswitch/winbindd.c 2005-12-28 21:10:11 UTC (rev 12544)
@@ -938,6 +938,8 @@
fault_setup((void (*)(void *))fault_quit );
+ load_case_tables();
+
/* Initialise for running in non-root mode */
sec_init();
Modified: trunk/source/utils/net.c
===================================================================
--- trunk/source/utils/net.c 2005-12-28 16:57:50 UTC (rev 12543)
+++ trunk/source/utils/net.c 2005-12-28 21:10:11 UTC (rev 12544)
@@ -782,6 +782,8 @@
zero_ip(&opt_dest_ip);
+ load_case_tables();
+
/* set default debug level to 0 regardless of what smb.conf sets */
DEBUGLEVEL_CLASS[DBGC_ALL] = 0;
dbf = x_stderr;
Modified: trunk/source/utils/smbpasswd.c
===================================================================
--- trunk/source/utils/smbpasswd.c 2005-12-28 16:57:50 UTC (rev 12543)
+++ trunk/source/utils/smbpasswd.c 2005-12-28 21:10:11 UTC (rev 12544)
@@ -569,6 +569,8 @@
local_flags = LOCAL_AM_ROOT;
}
+ load_case_tables();
+
local_flags = process_options(argc, argv, local_flags);
setup_logging("smbpasswd", True);
More information about the samba-cvs
mailing list