From d0bbe3751a2bc23fc9fa1428423ef2856fb9868e Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Sat, 2 Sep 2006 06:28:48 +0000 Subject: r18004: If you're writing out a krb5.conf, at least get the syntax right... :-). Jeremy. (This used to be commit ecca467e463ef5c9acd48ee0a5f446755bd2f306) --- source3/libads/kerberos.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/libads/kerberos.c') diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index a7c9e3dcba4..4801aec23e9 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) { -- cgit