diff options
-rw-r--r-- | lib/param/loadparm.c | 6 | ||||
-rw-r--r-- | source3/param/loadparm_ctx.c | 2 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lib/param/loadparm.c b/lib/param/loadparm.c index d68d585617..c2781ec61a 100644 --- a/lib/param/loadparm.c +++ b/lib/param/loadparm.c @@ -334,9 +334,9 @@ static struct parm_struct parm_table[] = { }, { .label = "password server", - .type = P_LIST, + .type = P_STRING, .p_class = P_GLOBAL, - .offset = GLOBAL_VAR(szPasswordServers), + .offset = GLOBAL_VAR(szPasswordServer), .special = NULL, .enum_list = NULL }, @@ -1562,7 +1562,7 @@ FN_GLOBAL_STRING(ntptr_providor, ntptr_providor) FN_GLOBAL_STRING(passdb_backend, passdb_backend) FN_GLOBAL_STRING(auto_services, szAutoServices) FN_GLOBAL_STRING(passwd_chat, szPasswdChat) -FN_GLOBAL_LIST(passwordserver, szPasswordServers) +FN_GLOBAL_CONST_STRING(passwordserver, szPasswordServer) FN_GLOBAL_LIST(name_resolve_order, szNameResolveOrder) FN_GLOBAL_STRING(realm, szRealm_upper) FN_GLOBAL_STRING(dnsdomain, szRealm_lower) diff --git a/source3/param/loadparm_ctx.c b/source3/param/loadparm_ctx.c index 57ffb87344..437ce43506 100644 --- a/source3/param/loadparm_ctx.c +++ b/source3/param/loadparm_ctx.c @@ -113,6 +113,8 @@ static const struct loadparm_s3_context s3_fns = .srv_minprotocol = lp_srv_minprotocol, .srv_maxprotocol = lp_srv_maxprotocol, + + .passwordserver = lp_passwordserver }; const struct loadparm_s3_context *loadparm_s3_context(void) |