remove -B and default to dual-daemon mode (-Y to run as a single process)
authorGerald Carter <jerry@samba.org>
Tue, 15 Jul 2003 04:19:57 +0000 (04:19 +0000)
committerGerald Carter <jerry@samba.org>
Tue, 15 Jul 2003 04:19:57 +0000 (04:19 +0000)
source/nsswitch/winbindd.c

index 507b5f7ef7a27eb5e45df6a8776fe1997583630c..ef55fe5123b9b26a632c52b6ef57f9221ed5c22b 100644 (file)
@@ -25,7 +25,7 @@
 #include "winbindd.h"
 
 BOOL opt_nocache = False;
-BOOL opt_dual_daemon = False;
+BOOL opt_dual_daemon = True;
 
 /*****************************************************************************
  stubb functions 
@@ -776,7 +776,7 @@ int main(int argc, char **argv)
                { "stdout", 'S', POPT_ARG_VAL, &log_stdout, True, "Log to stdout" },
                { "foreground", 'F', POPT_ARG_VAL, &Fork, False, "Daemon in foreground mode" },
                { "interactive", 'i', POPT_ARG_NONE, NULL, 'i', "Interactive mode" },
-               { "dual-daemon", 'B', POPT_ARG_VAL, &opt_dual_daemon, True, "Dual daemon mode" },
+               { "single-daemon", 'Y', POPT_ARG_VAL, &opt_dual_daemon, False, "Single daemon mode" },
                { "no-caching", 'n', POPT_ARG_VAL, &opt_nocache, False, "Disable caching" },
                POPT_COMMON_SAMBA
                POPT_TABLEEND