summaryrefslogtreecommitdiffstats
path: root/source/libads/util.c
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2002-08-17 17:00:51 +0000
committerJelmer Vernooij <jelmer@samba.org>2002-08-17 17:00:51 +0000
commit3928578b52cfc949be5e0ef444fce1558d75f290 (patch)
tree651ed4a38e217dfa3f3874e7db8e45e7429af1f0 /source/libads/util.c
parenteac75549c398f208484ae735d5a5931fed6d0e99 (diff)
downloadsamba-3928578b52cfc949be5e0ef444fce1558d75f290.tar.gz
samba-3928578b52cfc949be5e0ef444fce1558d75f290.tar.xz
samba-3928578b52cfc949be5e0ef444fce1558d75f290.zip
sync 3.0 branch with head
Diffstat (limited to 'source/libads/util.c')
-rw-r--r--source/libads/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/libads/util.c b/source/libads/util.c
index d48eb10b710..b10b130a313 100644
--- a/source/libads/util.c
+++ b/source/libads/util.c
@@ -39,7 +39,7 @@ ADS_STATUS ads_change_trust_account_password(ADS_STRUCT *ads, char *host_princip
new_password = strdup(tmp_password);
asprintf(&service_principal, "HOST/%s", host_principal);
- ret = kerberos_set_password(ads->kdc_server, host_principal, password,
+ ret = kerberos_set_password(ads->auth.kdc_server, host_principal, password,
service_principal, new_password);
if (!secrets_store_machine_password(new_password)) {