Changes to our PAM code to cope with the fact that we can't handle some
commit6a8cc7f0122ac4dd5b10ff1160735ef1a177d448
authorAndrew Bartlett <abartlet@samba.org>
Wed, 31 Dec 2003 08:45:03 +0000 (31 08:45 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 31 Dec 2003 08:45:03 +0000 (31 08:45 +0000)
tree30b8752c3a2e5963ef5d24454ec341c1dacd0c61
parent6f3cd9e2af7f1b4bdd7cb0e487987de159bb0dd8
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