Ignore:
Timestamp:
May 24, 2009, 7:45:16 AM (16 years ago)
Author:
Herwig Bauernfeind
Message:

Update Samba 3.3 branch to 3.3.2

File:
1 edited

Legend:

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

    r221 r222  
    3434
    3535extern struct winbindd_methods reconnect_methods;
    36 extern bool opt_nocache;
    3736#ifdef HAVE_ADS
    3837extern struct winbindd_methods ads_methods;
     
    632631        struct cache_entry *centry;
    633632
    634         if (opt_nocache) {
     633        if (!winbindd_use_cache()) {
    635634                return NULL;
    636635        }
     
    834833        TDB_DATA key, data;
    835834
    836         if (opt_nocache) {
     835        if (!winbindd_use_cache()) {
    837836                return;
    838837        }
     
    28612860                wcache->tdb = NULL;
    28622861        }
    2863         if (opt_nocache)
     2862        if (!winbindd_use_cache()) {
    28642863                return;
     2864        }
    28652865
    28662866        /* when working offline we must not clear the cache on restart */
Note: See TracChangeset for help on using the changeset viewer.