s3-winbind: Fix paranoia checks in winbindd_samr.c.
authorAndreas Schneider <asn@samba.org>
Fri, 20 May 2011 13:42:46 +0000 (15:42 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Wed, 15 Jun 2011 07:56:01 +0000 (09:56 +0200)
commit207a84d725b905c2b119d2ef0f4f4d4eb391140d
tree0ed3c7974d67828c8bf0024b7df9cca143d5f55d
parent8c14decdb8cbc5622d7cf9804bef857d0538ede0
s3-winbind: Fix paranoia checks in winbindd_samr.c.

This fixes looking up the correct unix user instead of allocation a new
uid and creating it.

Fix bug #8215 (winbind unix username lookup doesn't work correctly).
(cherry picked from commit 531edfdd1924bfb2ef486820f7f5787098bd953a)

Autobuild-User: Andreas Schneider <asn@cryptomilk.org>
Autobuild-Date: Wed Jun 15 09:56:01 CEST 2011 on sn-devel-104
source3/winbindd/winbindd_samr.c