s3: Fix wbinfo arg for --pam-logon
authorVolker Lendecke <vl@samba.org>
Mon, 13 Sep 2010 09:31:26 +0000 (11:31 +0200)
committerVolker Lendecke <vl@samba.org>
Mon, 13 Sep 2010 17:05:41 +0000 (10:05 -0700)
nsswitch/wbinfo.c

index 34bf75805792ba13007534fd7f43db02e4419d01..5304974ad80d0a01df614060c65c7b0b67dd09b9 100644 (file)
@@ -2016,7 +2016,7 @@ int main(int argc, char **argv, char **envp)
                { "sid-aliases", 0, POPT_ARG_STRING, &string_arg, OPT_SIDALIASES, "Get sid aliases", "SID" },
                { "user-sids", 0, POPT_ARG_STRING, &string_arg, OPT_USERSIDS, "Get user group sids for user SID", "SID" },
                { "authenticate", 'a', POPT_ARG_STRING, &string_arg, 'a', "authenticate user", "user%password" },
-               { "pam-logon", 0, POPT_ARG_STRING, string_arg, OPT_PAM_LOGON,
+               { "pam-logon", 0, POPT_ARG_STRING, &string_arg, OPT_PAM_LOGON,
                  "do a pam logon equivalent", "user%password" },
                { "logoff", 0, POPT_ARG_NONE, NULL, OPT_LOGOFF,
                  "log off user", "uid" },