summaryrefslogtreecommitdiff
path: root/source3/utils/net.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-07-30 21:37:09 +0200
committerGünther Deschner <gd@samba.org>2008-07-31 13:53:53 +0200
commit6913f986f4213e056f724ed3be3aee313c07d78c (patch)
tree680afbf2492ee36aff57ffef1d8abde086180d0a /source3/utils/net.c
parent536c26aa02f6afef4431427da1c8f6cc5b234a87 (diff)
downloadsamba-6913f986f4213e056f724ed3be3aee313c07d78c.tar.gz
samba-6913f986f4213e056f724ed3be3aee313c07d78c.tar.bz2
samba-6913f986f4213e056f724ed3be3aee313c07d78c.zip
net: add "-k" switch for kerberos authentication (in preparation for #5416).
Guenther (This used to be commit 4cce94d464b16d29b638da3a581d98a237959b63)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r--source3/utils/net.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c
index d086f947f1..e90e8f0a0f 100644
--- a/source3/utils/net.c
+++ b/source3/utils/net.c
@@ -636,6 +636,7 @@ static struct functable net_func[] = {
{"stdin", 'i', POPT_ARG_NONE, &c->opt_stdin},
{"timeout", 't', POPT_ARG_INT, &c->opt_timeout},
{"machine-pass",'P', POPT_ARG_NONE, &c->opt_machine_pass},
+ {"kerberos", 'k', POPT_ARG_NONE, &c->opt_kerberos},
{"myworkgroup", 'W', POPT_ARG_STRING, &c->opt_workgroup},
{"verbose", 'v', POPT_ARG_NONE, &c->opt_verbose},
{"test", 'T', POPT_ARG_NONE, &c->opt_testmode},