diff options
-rw-r--r-- | source3/libads/kerberos.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/source3/libads/kerberos.c b/source3/libads/kerberos.c index a0685b8a1c..7eb0bdc145 100644 --- a/source3/libads/kerberos.c +++ b/source3/libads/kerberos.c @@ -619,8 +619,7 @@ BOOL create_local_private_krb5_conf_for_domain(const char *realm, const char *do #define SYSTEM_KRB5_CONF_PATH "/etc/krb5.conf" /* Insanity, sheer insanity..... */ - - { + if (strequal(realm, lp_realm())) { pstring linkpath; int lret; |