r22713: Offline logon fixes for idmap manager:
authorGerald Carter <jerry@samba.org>
Sun, 6 May 2007 21:04:30 +0000 (21:04 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:21:49 +0000 (12:21 -0500)
commit4086ef15b395f1a536fb669af2103a33ecc14de4
treec5dba55dde992774694cf55b86161533c898268b
parent24616f7d6be40b090dc74851b1ea7d09d6976811
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
source/nsswitch/idmap.c
source/nsswitch/idmap_cache.c
source/nsswitch/winbindd.h