nsswitch: silence openpam error messages about unexpected responses
authorAndrew <awalker@ixsystems.com>
Fri, 19 Jun 2020 17:11:48 +0000 (13:11 -0400)
committerRalph Boehme <slow@samba.org>
Tue, 23 Jun 2020 08:08:29 +0000 (08:08 +0000)
commit1a6b714605ac5f08f671c89fd1762ed7391667fb
tree7f6e9d455b386980f5d765a789752459d333a38b
parentd473df78fb402e211866e0a624b6aa6e21972032
nsswitch: silence openpam error messages about unexpected responses

Openpam will log an error message when it receives an unexpected
response. On servers using openpam, convert an unexpected response
into PAM_SERVICE_ERR and log what we're doing so that logging behavior
is more user-configurable.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14416

Signed-off-by: Andrew <awalker@ixsystems.com>
Reviewed-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
Autobuild-User(master): Ralph Böhme <slow@samba.org>
Autobuild-Date(master): Tue Jun 23 08:08:29 UTC 2020 on sn-devel-184
nsswitch/pam_winbind.c