Author: jra
Date: 2006-09-05 21:11:08 +0000 (Tue, 05 Sep 2006)
New Revision: 18107

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

Log:
Only do a SAF realm store if the logon was krb5.
Jeremy.

Modified:
   branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c


Changeset:
Modified: branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c
===================================================================
--- branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c    2006-09-05 18:46:53 UTC 
(rev 18106)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c    2006-09-05 21:11:08 UTC 
(rev 18107)
@@ -363,7 +363,7 @@
        /* cache the server name for later connections */
 
        saf_store( domain->name, (*cli)->desthost );
-       if (domain->alt_name) {
+       if (domain->alt_name && (*cli)->use_kerberos) {
                saf_store( domain->alt_name, (*cli)->desthost );
        }
 

Reply via email to