s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.
authorMichael Adam <obnox@samba.org>
Mon, 17 May 2010 08:39:00 +0000 (10:39 +0200)
committerMichael Adam <obnox@samba.org>
Mon, 17 May 2010 09:45:31 +0000 (11:45 +0200)
commita15b6664389b05ea0cded46de3abe53034a7edef
tree2dba7f40ee84239ebfe05e263c56d3b93a3ac06f
parent765e9c7c67058271365521ce415b2ec1483e3c3d
s3:winbind:idmap_tdb: don't check ranges when an invalid entry was found.

There is no point in checking the ranges this if the record found had an
invalid/unknown type: the mapping is not filled in. If it were initialized
to some defaults before, the check just might replace the status
NT_STATUS_INTERNAL_DB_ERROR with a NT_STATUS_NONE_MAPPED, which is not
as precise.
source3/winbindd/idmap_tdb.c