svn commit: samba r13201 - in trunk/source/nsswitch: .

jra at samba.org jra at samba.org
Sat Jan 28 01:09:09 GMT 2006


Author: jra
Date: 2006-01-28 01:09:08 +0000 (Sat, 28 Jan 2006)
New Revision: 13201

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

Log:
Don't make returing from the cache dependent on offline global state.
Jeremy.

Modified:
   trunk/source/nsswitch/winbindd_cache.c


Changeset:
Modified: trunk/source/nsswitch/winbindd_cache.c
===================================================================
--- trunk/source/nsswitch/winbindd_cache.c	2006-01-28 00:15:49 UTC (rev 13200)
+++ trunk/source/nsswitch/winbindd_cache.c	2006-01-28 01:09:08 UTC (rev 13201)
@@ -447,7 +447,7 @@
 	 * seconds if it has become online again, return the cached entry.
 	 * This deals with transient offline states... */
 
-	if (lp_winbind_offline_logon() && !domain->online && 
+	if (!domain->online && 
 	    !NT_STATUS_IS_OK(check_negative_conn_cache(domain->name, domain->dcname))) {
 		DEBUG(10,("centry_expired: Key %s for domain %s valid as domain is offline.\n",
 			keystr, domain->name ));



More information about the samba-cvs mailing list