summaryrefslogtreecommitdiff
path: root/source3/nsswitch/idmap_cache.c
AgeCommit message (Collapse)AuthorFilesLines
2007-10-10r22713: Offline logon fixes for idmap manager:Gerald Carter1-59/+54
(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)
2007-10-10r22343: Commit to 3_0 as well after adapting the patch.Simo Sorce1-73/+47
(tdb_delete_bystring instead of tdb_delete is used here) (This used to be commit ee40cead097ed2c005f5f80b24c9f681e054849a)
2007-10-10r22110: don't cache the S-1-22-{1,2} domain SID/uig/gid lookups in idmap_cacheGerald Carter1-0/+13
(This used to be commit adfc2d31656f642c76a3d8eeddf5a67804a4917d)
2007-10-10r22009: change TDB_DATA from char * to unsigned char *Stefan Metzmacher1-4/+4
and fix all compiler warnings in the users metze (This used to be commit 3a28443079c141a6ce8182c65b56ca210e34f37f)
2007-10-10r21984: make use of tdb_*_bystring() and string_term_tdb_data()Stefan Metzmacher1-52/+29
to avoid creating the TDB_DATA struct from strings "by hand" metze (This used to be commit 91301f73476f17cc582c12e1fc201eb571d007af)
2007-10-10r21905: RenameGerald Carter1-3/+3
idmap expire time -> idmap cache time idmap negative time -> idmap negative cache time (This used to be commit aac2d0af5e870190e99317e8e88b22a9562485b4)
2007-10-10r21616: Delay initialization of idmap and nss_info backends until necessaryGerald Carter1-10/+51
so they can honor the offline logon state. (This used to be commit 15b13dfe81e861b94077c94b80117a85a5ffb999)
2007-10-10r20774: I thought I committed this before Xmas holidays ...Simo Sorce1-20/+20
This change is needed to make it possible to not expire caches in disconnected mode. Jerry, please can you look at this and confirm it is ok? Simo. (This used to be commit 9e8715e4e15d9cede8f4aa9652642995392617e6)
2007-10-10r20116: Start merging in the work done to create the new idmap subsystem.Simo Sorce1-0/+530
Simo. (This used to be commit 50cd8bffeeed2cac755f75fc3d76fe41c451976b)