sanity check for reverse lookup in idmap

Andrew Bartlett abartlet at samba.org
Sat Jul 26 23:31:18 GMT 2003


On Sun, 2003-07-27 at 00:58, Volker Lendecke wrote:
> On Fri, Jul 25, 2003 at 10:34:46AM -0500, Gerald (Jerry) Carter wrote:
> > Are these really necessary?
> > [from idmap+_tdb.c:db_get_id_from_sid()]
> 
> I think it was for the case when winbind dies in the middle of an update.

It is also because, in an error condition, we no longer attempt to 'back
out' the half-done changes.  Given such an error condition, I concluded
it was unlikely that any other TDB operations would function correctly,
and decided to instead make the readers check.

Andrew Bartlett

-- 
Andrew Bartlett                                 abartlet at pcug.org.au
Manager, Authentication Subsystems, Samba Team  abartlet at samba.org
Student Network Administrator, Hawker College   abartlet at hawkerc.net
http://samba.org     http://build.samba.org     http://hawkerc.net
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba-technical/attachments/20030726/6e25bdfb/attachment.bin


More information about the samba-technical mailing list