r13492: As noone objected on the mailing-list:
commitf0ed0440c4d3b8736eb5e1ceba8b9257eb29cee3
authorGünther Deschner <gd@samba.org>
Mon, 13 Feb 2006 15:12:22 +0000 (13 15:12 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:10:06 +0000 (10 11:10 -0500)
tree35bff7daa4d9c393e03eeb07bb2c2ac564330ff1
parent6791180b8175a3f580b911f6b07a990d3559412d
r13492: As noone objected on the mailing-list:

Fix parse_domain_user to fail when splitting a full name like "DOM\user"
when "winbind use default domain" and "winbind trusted domains only" are
not enabled.

This allows pam_winbind to behave correctly when more modules are
stacked in the "account" or "password" PAM facility. pam_winbindd calls
WINBINDD_GETPWNAM which can decide whether or not a user is a winbind
user and return correct PAM error codes.

Guenther
(This used to be commit e6d52c1e9d8cec7be6d552c2a67a392df21c3ec9)
source3/nsswitch/pam_winbind.c
source3/nsswitch/winbindd_group.c
source3/nsswitch/winbindd_pam.c
source3/nsswitch/winbindd_user.c
source3/nsswitch/winbindd_util.c