Author: metze
Date: 2007-08-22 12:28:58 +0000 (Wed, 22 Aug 2007)
New Revision: 24625

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=24625

Log:
add '-D' option to winbindd

TODO: don't allow '-i -D' and '-D -i' on all
      server binaries in the SAMBA_3_2 branch!
      The &server_mode patch makes this difficult to check...

metze
Modified:
   branches/SAMBA_3_2/source/nsswitch/winbindd.c


Changeset:
Modified: branches/SAMBA_3_2/source/nsswitch/winbindd.c
===================================================================
--- branches/SAMBA_3_2/source/nsswitch/winbindd.c       2007-08-22 12:23:18 UTC 
(rev 24624)
+++ branches/SAMBA_3_2/source/nsswitch/winbindd.c       2007-08-22 12:28:58 UTC 
(rev 24625)
@@ -977,6 +977,7 @@
                { "stdout", 'S', POPT_ARG_VAL, &log_stdout, True, "Log to 
stdout" },
                { "foreground", 'F', POPT_ARG_VAL, &server_mode, 
SERVER_MODE_FOREGROUND, "Daemon in foreground mode" },
                { "no-process-group", 0, POPT_ARG_VAL, &no_process_group, True, 
"Don't create a new process group" },
+               { "daemon", 'D', POPT_ARG_VAL, &server_mode, 
SERVER_MODE_DAEMON, "Become a daemon (default)" },
                { "interactive", 'i', POPT_ARG_VAL, &server_mode, 
SERVER_MODE_INTERACTIVE, "Interactive mode" },
                { "no-caching", 'n', POPT_ARG_VAL, &opt_nocache, True, "Disable 
caching" },
                POPT_COMMON_SAMBA

Reply via email to