summaryrefslogtreecommitdiff
path: root/lib/param/param_table.c
diff options
context:
space:
mode:
authorAndreas Schneider <asn@samba.org>2020-08-19 11:34:02 +0200
committerAndrew Bartlett <abartlet@samba.org>2021-04-28 03:43:34 +0000
commit1cd233712e1a62d716a1d8b34ff3dca6a8f0f501 (patch)
tree09c0136d56eb2083b9f13bad5ee2b7143fe0564b /lib/param/param_table.c
parentb2bad13ca3545ea451c7858dace56195d18c4827 (diff)
downloadsamba-1cd233712e1a62d716a1d8b34ff3dca6a8f0f501.tar.gz
lib:param: Add 'client use kerberos' config parameter
Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'lib/param/param_table.c')
-rw-r--r--lib/param/param_table.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/lib/param/param_table.c b/lib/param/param_table.c
index e2f737279dc..b26f0738f09 100644
--- a/lib/param/param_table.c
+++ b/lib/param/param_table.c
@@ -35,6 +35,7 @@
#include "libcli/smb/smb_constants.h"
#include "libds/common/roles.h"
#include "source4/lib/tls/tls.h"
+#include "auth/credentials/credentials.h"
#ifndef N_
#define N_(x) x
@@ -161,6 +162,17 @@ static const struct enum_list enum_smb_encryption_vals[] = {
{-1, NULL}
};
+static const struct enum_list enum_use_kerberos_vals[] = {
+ {CRED_USE_KERBEROS_DESIRED, "desired"},
+ {CRED_USE_KERBEROS_DESIRED, "auto"},
+ {CRED_USE_KERBEROS_REQUIRED, "yes"},
+ {CRED_USE_KERBEROS_REQUIRED, "required"},
+ {CRED_USE_KERBEROS_DISABLED, "no"},
+ {CRED_USE_KERBEROS_DISABLED, "disabled"},
+ {CRED_USE_KERBEROS_DISABLED, "off"},
+ {-1, NULL}
+};
+
static const struct enum_list enum_mdns_name_values[] = {
{MDNS_NAME_NETBIOS, "netbios"},
{MDNS_NAME_MDNS, "mdns"},