s3:idmap: Remove passd check from idmap_backends_unixid_to_sid().
authorMichael Adam <obnox@samba.org>
Wed, 1 Oct 2008 06:53:15 +0000 (08:53 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 25 Dec 2008 11:14:03 +0000 (12:14 +0100)
commit45db33e73262d8e195a46fb96405dfb3dc43d6bc
tree307e1a7e621cc7da0b12849e8b9a1a2590f1e317
parent9a9b64dbdfce4414ada22d4f882c8c757b5813e1
s3:idmap: Remove passd check from idmap_backends_unixid_to_sid().

As noted by Metzy, it makes no sense here to check id->sid.
What is worse, this might even be passed in uninitialized.

This still fixes the bug for me (of course), but we might need
to check, if another special handling of passdb is needed
(possibly changing from constant return code NT_STATUS_OK...)

Michael

Signed-off-by: Michael Adam <obnox@samba.org>
source3/winbindd/idmap.c