diff options
author | Jeremy Allison <jra@samba.org> | 2006-09-02 06:28:48 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:39:46 -0500 |
commit | d0bbe3751a2bc23fc9fa1428423ef2856fb9868e (patch) | |
tree | 67f04b6edd0c9bef18c72d37a26e88fa80c01e7a | |
parent | b05c81a184d8763e5f0e25642d7ec4bf80ae8466 (diff) | |
download | samba-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)
-rw-r--r-- | source3/libads/kerberos.c | 4 |
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) { |