s3-winbind: don't try to do clever thing if the username is not found while authentic...
commit56d5cb938651b9c67a8400d1adc61a23889a6a29
authorMatthieu Patou <mat@matws.net>
Mon, 30 Jan 2012 08:05:08 +0000 (30 00:05 -0800)
committerMatthieu Patou <mat@samba.org>
Mon, 30 Jan 2012 17:58:12 +0000 (30 18:58 +0100)
tree619df465a76b8fc1af715c646385dc25e7b7945a
parent7350d994096efa62031f4f75cf92fb4ade2b2655
s3-winbind: don't try to do clever thing if the username is not found while authenticating through winbind

This could cause that we authenticate a user with a bogus domain to
winbind's domain if the password supplied for the PAM_AUTH match.

The problem was reported by Jeff Venable (jvenable@juniper.net).
Patch from Andrew Bartlett (abartlett@samba.org).

Autobuild-User: Matthieu Patou <mat@samba.org>
Autobuild-Date: Mon Jan 30 18:58:12 CET 2012 on sn-devel-104
source3/winbindd/winbindd_pam.c