summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-09-13 11:31:26 +0200
committerVolker Lendecke <vl@samba.org>2010-09-13 10:05:41 -0700
commit2ef4acb2bd67b1b5d483e859705e445c6e01e4cd (patch)
treebcfced4f4919a4097d0068c7e86ab91d47f0485c
parent8768f627dc2c6994e551ed15c204b6f26d496dd7 (diff)
downloadsamba-2ef4acb2bd67b1b5d483e859705e445c6e01e4cd.tar.gz
samba-2ef4acb2bd67b1b5d483e859705e445c6e01e4cd.tar.bz2
samba-2ef4acb2bd67b1b5d483e859705e445c6e01e4cd.zip
s3: Fix wbinfo arg for --pam-logon
-rw-r--r--nsswitch/wbinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index 34bf758057..5304974ad8 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -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" },