summaryrefslogtreecommitdiff
path: root/autogen.sh
diff options
context:
space:
mode:
authorDmitry V. Levin <ldv@altlinux.org>2020-05-09 08:00:00 +0000
committerDmitry V. Levin <ldv@altlinux.org>2020-05-09 08:00:00 +0000
commit28903b11794f0b8509b2c791360219dbeb41f54e (patch)
tree01000b923fc6806402e9e0771a9bb5be37c8069f /autogen.sh
parent385f8fbd1ce9b8950c02dff94f5e89df7e77a752 (diff)
pam_setquota: fix return value when the user is unknown
Following the bad example in pam_mkhomedir module, from the very beginning pam_setquota module used to return PAM_CRED_INSUFFICIENT when pam_modutil_getpwnam() returned an error. Fix this now by changing the return value to PAM_USER_UNKNOWN. * modules/pam_setquota/pam_setquota.c (pam_sm_open_session): Return PAM_USER_UNKNOWN instead of PAM_CRED_INSUFFICIENT. * modules/pam_setquota/pam_setquota.8.xml (PAM_CRED_INSUFFICIENT): Replace with PAM_USER_UNKNOWN.
Diffstat (limited to 'autogen.sh')
0 files changed, 0 insertions, 0 deletions