(merge from 3.0)
authorAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 23:38:49 +0000 (23:38 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 5 Jan 2004 23:38:49 +0000 (23:38 +0000)
commit06b4eb4b9f867998c8faf9a91830ba3181cdf605
tree189c2221748910b149711d0ac1a4fc62651248f6
parentacacd27ba25f7ebfec40bfa66d34ece543569e23
(merge from 3.0)

Changes to our PAM code to cope with the fact that we can't handle some
domains (in particular, the domain of the current machine, if it is not a PDC)

By changing the error codes, we now return values that PAM can correctly
use for better stacking of PAM modules - in particular of the password change
module.

This allows pam_winbind to co-exist with other pam modules for password changes.
Andrew Bartlett
source/nsswitch/winbindd_pam.c
source/nsswitch/winbindd_util.c