diff options
author | Volker Lendecke <vlendec@samba.org> | 2005-12-28 21:10:11 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:59 -0500 |
commit | 608aa3f41e2667f8812980c5abb459a031fd382c (patch) | |
tree | 7764fdba5911806783706395108fb51cd90ddac6 /source3/utils | |
parent | 1d5add005d2b1339e38468c9713be1c5d7b4cc2d (diff) | |
download | samba-608aa3f41e2667f8812980c5abb459a031fd382c.tar.gz samba-608aa3f41e2667f8812980c5abb459a031fd382c.tar.bz2 samba-608aa3f41e2667f8812980c5abb459a031fd382c.zip |
r12544: Fix segfaults in winbind, smbpasswd and net
(This used to be commit 9ca8edc26e66887d6333943bc6a9776352c657fc)
Diffstat (limited to 'source3/utils')
-rw-r--r-- | source3/utils/net.c | 2 | ||||
-rw-r--r-- | source3/utils/smbpasswd.c | 2 |
2 files changed, 4 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index 4d9dec4b85..839f6f1b01 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -781,6 +781,8 @@ static struct functable net_func[] = { 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; diff --git a/source3/utils/smbpasswd.c b/source3/utils/smbpasswd.c index 708d44df9f..5aba162389 100644 --- a/source3/utils/smbpasswd.c +++ b/source3/utils/smbpasswd.c @@ -569,6 +569,8 @@ int main(int argc, char **argv) local_flags = LOCAL_AM_ROOT; } + load_case_tables(); + local_flags = process_options(argc, argv, local_flags); setup_logging("smbpasswd", True); |