summaryrefslogtreecommitdiff
path: root/source3/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-09-02 06:28:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:39:46 -0500
commitd0bbe3751a2bc23fc9fa1428423ef2856fb9868e (patch)
tree67f04b6edd0c9bef18c72d37a26e88fa80c01e7a /source3/libads
parentb05c81a184d8763e5f0e25642d7ec4bf80ae8466 (diff)
downloadsamba-d0bbe3751a2bc23fc9fa1428423ef2856fb9868e.tar.gz
samba-d0bbe3751a2bc23fc9fa1428423ef2856fb9868e.tar.bz2
samba-d0bbe3751a2bc23fc9fa1428423ef2856fb9868e.zip
r18004: If you're writing out a krb5.conf, at least
get the syntax right... :-). Jeremy. (This used to be commit ecca467e463ef5c9acd48ee0a5f446755bd2f306)
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) {