diff options
author | Jeremy Allison <jra@samba.org> | 2006-09-07 18:34:02 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:16 -0500 |
commit | 34a25efad28d47db49fe5bd0db08f7988e11bb29 (patch) | |
tree | 11adc8fa14e5e5282ae9c872b3b6a43709c433ac | |
parent | 80052bcf13cbac8ac54aacc5dc004a5b5fd4b01e (diff) | |
download | samba-34a25efad28d47db49fe5bd0db08f7988e11bb29.tar.gz samba-34a25efad28d47db49fe5bd0db08f7988e11bb29.tar.bz2 samba-34a25efad28d47db49fe5bd0db08f7988e11bb29.zip |
r18226: Ensure we only do this evil thing if it's our realm.
Jeremy.
(This used to be commit 0a89b37b1a367470be410ae94b42c813c7dbefe6)
-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; |