[PATCH] winbindd rescanning trusted domain list too early
Jerome Borsboom
j.borsboom at erasmusmc.nl
Wed May 19 12:44:44 GMT 2004
winbindd is rescanning the trusted domain list too early, when
last_trustdom_scan is set to the current time to prevent a
rescan.
this patch solves this problem:
--- samba-3.0.4/source/nsswitch/winbindd_util.c 2004-04-20 22:42:55.000000000 +0200
+++ samba-3.0.4.new/source/nsswitch/winbindd_util.c 2004-05-19 14:40:19.708139415 +0200
@@ -269,7 +269,7 @@
/* see if the time has come... */
- if ( (now > last_trustdom_scan) && ((now-last_trustdom_scan) < WINBINDD_RESCAN_FREQ) )
+ if ( (now >= last_trustdom_scan) && ((now-last_trustdom_scan) < WINBINDD_RESCAN_FREQ) )
return;
if ( (mydomain = find_our_domain()) == NULL ) {
More information about the samba-technical
mailing list