summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorAlexander Bokovoy <ab@samba.org>2012-09-05 18:49:39 +0300
committerAlexander Bokovoy <ab@samba.org>2012-09-07 12:31:42 +0200
commit57ce825c8b441f09393fdd8b3b713d7e3e751624 (patch)
tree2f614f2cf85d048a625b505b3a6c882722536464 /source3/passdb
parentc2e2857db41ac96dbd6eca69b09a8e4b659997eb (diff)
downloadsamba-57ce825c8b441f09393fdd8b3b713d7e3e751624.tar.gz
samba-57ce825c8b441f09393fdd8b3b713d7e3e751624.tar.bz2
samba-57ce825c8b441f09393fdd8b3b713d7e3e751624.zip
s3-passdb: convert pdb_ldap to use secrets wrappers
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index ffd57431ce..eba1f55293 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -6563,7 +6563,7 @@ NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location)
TALLOC_FREE(domain_sid_string);
return NT_STATUS_INVALID_PARAMETER;
}
- found_sid = secrets_fetch_domain_sid(ldap_state->domain_name,
+ found_sid = PDB_secrets_fetch_domain_sid(ldap_state->domain_name,
&secrets_domain_sid);
if (!found_sid || !dom_sid_equal(&secrets_domain_sid,
&ldap_domain_sid)) {
@@ -6574,7 +6574,7 @@ NTSTATUS pdb_init_ldapsam(struct pdb_methods **pdb_method, const char *location)
sid_string_dbg(&ldap_domain_sid)));
/* reset secrets.tdb sid */
- secrets_store_domain_sid(ldap_state->domain_name,
+ PDB_secrets_store_domain_sid(ldap_state->domain_name,
&ldap_domain_sid);
DEBUG(1, ("New global sam SID: %s\n",
sid_string_dbg(get_global_sam_sid())));