idmap: Remove passd check from idmap_backends_unixid_to_sid().
commit3d22b77f1ac5e8f83d1063d87c68e60655a3ed6b
authorMichael Adam <obnox@samba.org>
Wed, 1 Oct 2008 06:53:15 +0000 (1 08:53 +0200)
committerMichael Adam <obnox@samba.org>
Thu, 25 Dec 2008 11:13:51 +0000 (25 12:13 +0100)
treec1bcef1fa5ef4c266d9192e5d765cb69b62c6093
parentd4bc1f8d79929dc1a1d06e92eaf85923a1848e6f
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
(cherry picked from commit 651b5d6deaab4fb3cb726fafd98171c79777631c)

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