Changeset 232 for branches/samba-3.2.x/source/winbindd/winbindd_cache.c
- Timestamp:
- May 27, 2009, 9:09:42 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.2.x/source/winbindd/winbindd_cache.c
r204 r232 487 487 488 488 /* see if we have to refetch the domain sequence number */ 489 if (!force && (time_diff < cache_time)) { 489 if (!force && (time_diff < cache_time) && 490 (domain->sequence_number != DOM_SEQUENCE_NONE) && 491 NT_STATUS_IS_OK(domain->last_status)) { 490 492 DEBUG(10, ("refresh_sequence_number: %s time ok\n", domain->name)); 491 493 goto done; … … 496 498 497 499 status = fetch_cache_seqnum( domain, t ); 498 if ( NT_STATUS_IS_OK(status) ) 499 goto done; 500 if (NT_STATUS_IS_OK(status) && 501 (domain->sequence_number != DOM_SEQUENCE_NONE) && 502 NT_STATUS_IS_OK(domain->last_status)) { 503 goto done; 504 } 500 505 501 506 /* important! make sure that we know if this is a native
Note:
See TracChangeset
for help on using the changeset viewer.