svn commit: samba r19064 - in branches/SAMBA_3_0/source/nsswitch: .
vlendec at samba.org
vlendec at samba.org
Wed Oct 4 15:05:01 GMT 2006
Author: vlendec
Date: 2006-10-04 15:05:00 +0000 (Wed, 04 Oct 2006)
New Revision: 19064
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=19064
Log:
This code block is already #ifdef'ed by WITH_ADS which should imply
HAVE_KRB5. If WITH_ADS does not imply KRB5, we have to fix that.
Lets see what the build farm thinks about this.
Volker
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-10-04 12:33:36 UTC (rev 19063)
+++ branches/SAMBA_3_0/source/nsswitch/winbindd_cm.c 2006-10-04 15:05:00 UTC (rev 19064)
@@ -782,7 +782,7 @@
namecache_store(name, 0x20, 1, &ip_list);
DEBUG(10,("dcip_to_name: flags = 0x%x\n", (unsigned int)ads->config.flags));
-#ifdef HAVE_KRB5
+
if ((ads->config.flags & ADS_KDC) && ads_sitename_match(ads)) {
/* We're going to use this KDC for this realm/domain.
If we are using sites, then force the krb5 libs
@@ -796,7 +796,7 @@
saf_store( domainname, name);
saf_store( realm, name);
}
-#endif
+
ads_destroy( &ads );
return True;
}
More information about the samba-cvs
mailing list