diff options
author | Ralph Boehme <slow@samba.org> | 2019-11-04 17:54:23 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2019-11-27 10:25:36 +0000 |
commit | 050c28364aa1b476d33ea726ecb6cbd9d26af5d8 (patch) | |
tree | 7d6c0e3d1e7bbb338ed685b3524dceaee8f07ea9 /source3/passdb | |
parent | 4d2a3c8a791a42e2162ef957de2937673d536f53 (diff) | |
download | samba-050c28364aa1b476d33ea726ecb6cbd9d26af5d8.tar.gz |
smbdotconf: mark "ldap admin dn" with constant="1"
All the other LDAP related options like "ldap user suffix" don't support
variable substitution, so I guess it's safe to remove support for it from this
one as well.
Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/passdb')
-rw-r--r-- | source3/passdb/secrets.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c index ce215b1f2b2..2b2206070e2 100644 --- a/source3/passdb/secrets.c +++ b/source3/passdb/secrets.c @@ -324,7 +324,7 @@ bool fetch_ldap_pw(char **dn, char** pw) char *key = NULL; size_t size = 0; - *dn = smb_xstrdup(lp_ldap_admin_dn(talloc_tos())); + *dn = smb_xstrdup(lp_ldap_admin_dn()); if (asprintf(&key, "%s/%s", SECRETS_LDAP_BIND_PW, *dn) < 0) { SAFE_FREE(*dn); |