param: Allow to specify kerberos method on the commandline
authorAndreas Schneider <asn@samba.org>
Mon, 13 Mar 2017 16:28:58 +0000 (17:28 +0100)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 14 Mar 2017 14:22:12 +0000 (15:22 +0100)
We support --option for our tools but you cannot set an option where the
value of the option includes a space.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Andrew Bartlet <abartlet@samba.org>
lib/param/param_table.c

index 95c3b8c61883b8d0080ce0ec330cef5ca5915d58..21cac107647b9efeb6136f87fa94c6f591d90002 100644 (file)
@@ -202,9 +202,13 @@ static const struct enum_list enum_smbd_profiling_level[] = {
 static const struct enum_list enum_kerberos_method[] = {
        {KERBEROS_VERIFY_SECRETS, "default"},
        {KERBEROS_VERIFY_SECRETS, "secrets only"},
+       {KERBEROS_VERIFY_SECRETS, "secretsonly"},
        {KERBEROS_VERIFY_SYSTEM_KEYTAB, "system keytab"},
+       {KERBEROS_VERIFY_SYSTEM_KEYTAB, "systemkeytab"},
        {KERBEROS_VERIFY_DEDICATED_KEYTAB, "dedicated keytab"},
+       {KERBEROS_VERIFY_DEDICATED_KEYTAB, "dedicatedkeytab"},
        {KERBEROS_VERIFY_SECRETS_AND_KEYTAB, "secrets and keytab"},
+       {KERBEROS_VERIFY_SECRETS_AND_KEYTAB, "secretsandkeytab"},
        {-1, NULL}
 };