Changeset 222 for branches/samba-3.3.x/source/winbindd/winbindd_cache.c
- Timestamp:
- May 24, 2009, 7:45:16 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/samba-3.3.x/source/winbindd/winbindd_cache.c
r221 r222 34 34 35 35 extern struct winbindd_methods reconnect_methods; 36 extern bool opt_nocache;37 36 #ifdef HAVE_ADS 38 37 extern struct winbindd_methods ads_methods; … … 632 631 struct cache_entry *centry; 633 632 634 if ( opt_nocache) {633 if (!winbindd_use_cache()) { 635 634 return NULL; 636 635 } … … 834 833 TDB_DATA key, data; 835 834 836 if ( opt_nocache) {835 if (!winbindd_use_cache()) { 837 836 return; 838 837 } … … 2861 2860 wcache->tdb = NULL; 2862 2861 } 2863 if ( opt_nocache)2862 if (!winbindd_use_cache()) { 2864 2863 return; 2864 } 2865 2865 2866 2866 /* when working offline we must not clear the cache on restart */
Note:
See TracChangeset
for help on using the changeset viewer.