summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libads/kerberos.c2
-rw-r--r--source3/libads/ldap.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index dc85a77304..0707427a22 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -548,7 +548,7 @@ BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *do
DEBUG(5,("create_local_private_krb5_conf_for_domain: wrote "
"file %s with realm %s KDC = %s\n",
- realm_upper, inet_ntoa(ip));
+ fname, realm_upper, inet_ntoa(ip) ));
return True;
}
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 60e4c9f5b7..4fbb0c7af3 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -178,8 +178,8 @@ BOOL ads_try_connect(ADS_STRUCT *ads, const char *server )
SAFE_FREE(ads->config.realm);
SAFE_FREE(ads->config.bind_path);
SAFE_FREE(ads->config.ldap_server_name);
- SAFE_FREE(ads->config.server_site);
- SAFE_FREE(ads->config.client_site);
+ SAFE_FREE(ads->config.server_site_name);
+ SAFE_FREE(ads->config.client_site_name);
SAFE_FREE(ads->server.workgroup);
ads->config.flags = cldap_reply.flags;