diff options
author | Luke Howard <lukeh@padl.com> | 2009-11-26 09:05:17 +0000 |
---|---|---|
committer | Luke Howard <lukeh@padl.com> | 2009-11-26 09:05:17 +0000 |
commit | 74a8269501efcfd559de4b908b7c97b190146ce5 (patch) | |
tree | 96a6f216cc9a7e1eaddaa7bf26b502d874291fd4 | |
parent | f70836405783b8cfb40a1781bd284dc9f1b264b2 (diff) | |
download | krb5-74a8269501efcfd559de4b908b7c97b190146ce5.zip krb5-74a8269501efcfd559de4b908b7c97b190146ce5.tar.gz krb5-74a8269501efcfd559de4b908b7c97b190146ce5.tar.bz2 |
accidentally had removed user/pass parsing code
git-svn-id: svn://anonsvn.mit.edu/krb5/users/lhoward/iakerb-refonly@23362 dc483132-0cff-0310-8789-dd5450dbe970
-rw-r--r-- | src/appl/gss-sample/gss-client.c | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/appl/gss-sample/gss-client.c b/src/appl/gss-sample/gss-client.c index 987c874..d922cc3 100644 --- a/src/appl/gss-sample/gss-client.c +++ b/src/appl/gss-sample/gss-client.c @@ -761,6 +761,18 @@ main(argc, argv) if (!argc) usage(); mechanism = *argv; + } else if (strcmp(*argv, "-user") == 0) { + argc--; + argv++; + if (!argc) + usage(); + username = *argv; + } else if (strcmp(*argv, "-pass") == 0) { + argc--; + argv++; + if (!argc) + usage(); + password = *argv; } else if (strcmp(*argv, "-iakerb") == 0) { mechanism = "{ 1 3 6 1 5 2 5 }"; } else if (strcmp(*argv, "-spnego") == 0) { |