Author: jra
Date: 2006-09-07 18:34:02 +0000 (Thu, 07 Sep 2006)
New Revision: 18226

WebSVN: 
http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=18226

Log:
Ensure we only do this evil thing if it's our realm.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/libads/kerberos.c


Changeset:
Modified: branches/SAMBA_3_0/source/libads/kerberos.c
===================================================================
--- branches/SAMBA_3_0/source/libads/kerberos.c 2006-09-07 17:29:23 UTC (rev 
18225)
+++ branches/SAMBA_3_0/source/libads/kerberos.c 2006-09-07 18:34:02 UTC (rev 
18226)
@@ -619,8 +619,7 @@
 #define SYSTEM_KRB5_CONF_PATH "/etc/krb5.conf"
        /* Insanity, sheer insanity..... */
 
-
-       {
+       if (strequal(realm, lp_realm())) {
                pstring linkpath;
                int lret;
 

Reply via email to