Author: abartlet
Date: 2007-07-17 05:40:36 +0000 (Tue, 17 Jul 2007)
New Revision: 23912

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

Log:
We always accept / as a seperator, and it is far less confusing
compared with a shell-escape (\).

Fixes bug #4765

Andrew Bartlett

Modified:
   branches/SAMBA_4_0/source/lib/cmdline/popt_credentials.c


Changeset:
Modified: branches/SAMBA_4_0/source/lib/cmdline/popt_credentials.c
===================================================================
--- branches/SAMBA_4_0/source/lib/cmdline/popt_credentials.c    2007-07-17 
04:47:36 UTC (rev 23911)
+++ branches/SAMBA_4_0/source/lib/cmdline/popt_credentials.c    2007-07-17 
05:40:36 UTC (rev 23912)
@@ -131,7 +131,7 @@
 
 struct poptOption popt_common_credentials[] = {
        { NULL, 0, POPT_ARG_CALLBACK|POPT_CBFLAG_PRE|POPT_CBFLAG_POST, (void 
*)popt_common_credentials_callback },
-       { "user", 'U', POPT_ARG_STRING, NULL, 'U', "Set the network username", 
"[DOMAIN\\]USERNAME[%PASSWORD]" },
+       { "user", 'U', POPT_ARG_STRING, NULL, 'U', "Set the network username", 
"[DOMAIN/]USERNAME[%PASSWORD]" },
        { "no-pass", 'N', POPT_ARG_NONE, &dont_ask, True, "Don't ask for a 
password" },
        { "password", 0, POPT_ARG_STRING, NULL, OPT_PASSWORD, "Password" },
        { "authentication-file", 'A', POPT_ARG_STRING, NULL, 'A', "Get the 
credentials from a file", "FILE" },

Reply via email to