Ignore:
Timestamp:
May 27, 2009, 9:09:42 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update 3.2 branch to 3.2.8

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/samba-3.2.x/source/winbindd/winbindd_cache.c

    r204 r232  
    487487
    488488        /* 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)) {
    490492                DEBUG(10, ("refresh_sequence_number: %s time ok\n", domain->name));
    491493                goto done;
     
    496498       
    497499        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        }
    500505
    501506        /* important! make sure that we know if this is a native
Note: See TracChangeset for help on using the changeset viewer.