summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
Diffstat (limited to 'source3/libads')
-rw-r--r--source3/libads/kerberos.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c
index a7c9e3dcba..4801aec23e 100644
--- a/source3/libads/kerberos.c
+++ b/source3/libads/kerberos.c
@@ -505,9 +505,9 @@ BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *do
realm_upper = talloc_strdup(fname, realm);
strupper_m(realm_upper);
- file_contents = talloc_asprintf(fname, "[libdefaults]\n\tdefault_realm = %s\n"
+ file_contents = talloc_asprintf(fname, "[libdefaults]\n\tdefault_realm = %s\n\n"
"[realms]\n\t%s = {\n"
- "\t\tkdc = %s\n]\n",
+ "\t\tkdc = %s\n\t}\n",
realm_upper, realm_upper, inet_ntoa(ip));
if (!file_contents) {