summaryrefslogtreecommitdiff
path: root/source/auth/auth_domain.c
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-16 08:17:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:10 -0500
commit3c879745cfc39be6128b63a88ecdbfa3d9ce6c2d (patch)
treed89ba31fb238c477e1395052c561e5e07399f9c5 /source/auth/auth_domain.c
parent024dd7d7c95bcf8d77914dc2063f16220358e690 (diff)
downloadsamba-3c879745cfc39be6128b63a88ecdbfa3d9ce6c2d.tar.gz
r20824: Send access to the trusted domain passwords through the pdb backend, so that
in the next step we can store them in LDAP to be replicated across DCs. Thanks to Michael Adam <ma@sernet.de> Volker
Diffstat (limited to 'source/auth/auth_domain.c')
-rw-r--r--source/auth/auth_domain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/auth/auth_domain.c b/source/auth/auth_domain.c
index 6468c18cb0e..6517852093d 100644
--- a/source/auth/auth_domain.c
+++ b/source/auth/auth_domain.c
@@ -408,8 +408,8 @@ static NTSTATUS check_trustdomain_security(const struct auth_context *auth_conte
* No need to become_root() as secrets_init() is done at startup.
*/
- if (!secrets_fetch_trusted_domain_password(user_info->domain, &trust_password,
- &sid, &last_change_time)) {
+ if (!pdb_get_trusteddom_pw(user_info->domain, &trust_password,
+ &sid, &last_change_time)) {
DEBUG(0, ("check_trustdomain_security: could not fetch trust "
"account password for domain %s\n",
user_info->domain));