1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-10 01:18:15 +03:00

r18004: If you're writing out a krb5.conf, at least

get the syntax right... :-).
Jeremy.
(This used to be commit ecca467e46)
This commit is contained in:
Jeremy Allison 2006-09-02 06:28:48 +00:00 committed by Gerald (Jerry) Carter
parent b05c81a184
commit d0bbe3751a

View File

@ -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) {