Author: idra Date: 2007-04-18 20:49:59 +0000 (Wed, 18 Apr 2007) New Revision: 22342
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22342 Log: This patch tries to fix a number of problems with the offline code. So far I have tested it only with idmap_tdb, idmap_ad testing is next. Fixes: - The code returned an error on any idmap call if winbindd was put offline before the idmap code was initialized. - The code denied consulting any backend, even local ones like idmap_tdb when offline, correct the situation by handling offline decisions in the backends Simo. Modified: branches/SAMBA_3_0_25/source/include/idmap.h branches/SAMBA_3_0_25/source/include/smb.h branches/SAMBA_3_0_25/source/nsswitch/idmap.c branches/SAMBA_3_0_25/source/nsswitch/idmap_ad.c branches/SAMBA_3_0_25/source/nsswitch/idmap_cache.c branches/SAMBA_3_0_25/source/nsswitch/idmap_ldap.c branches/SAMBA_3_0_25/source/nsswitch/idmap_nss.c branches/SAMBA_3_0_25/source/nsswitch/idmap_passdb.c branches/SAMBA_3_0_25/source/nsswitch/idmap_tdb.c Changeset: Sorry, the patch is too large (1193 lines) to include; please use WebSVN to see it! WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=22342