r22713: Offline logon fixes for idmap manager:
commitc16059f1f0eab31835f577aa4985fd9d70a8982c
authorGerald Carter <jerry@samba.org>
Sun, 6 May 2007 21:04:30 +0000 (6 21:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:21:49 +0000 (10 12:21 -0500)
tree76e1241da919617cf78f45c0fa9b14d4f5dd7a54
parentfd5ff711b6fa4b1146776ba6f915a20e64786c53
r22713: Offline logon fixes for idmap manager:

(a) Ignore the negative cache when the domain is offline
(b) don't delete expired entries from the cache as these
    can be used when offline (same model as thw wcache entries)
(c) Delay idmap backend initialization when offline
    as the backend routines will not be called until we go
    online anyways.  This prevents idmap_init() from failing
    when a backend's init() function fails becuase of lack of
    network connectivity
(This used to be commit 4086ef15b395f1a536fb669af2103a33ecc14de4)
source3/nsswitch/idmap.c
source3/nsswitch/idmap_cache.c
source3/nsswitch/winbindd.h