mirror of
git://git.gnu.org.ua/pam-modules.git
synced 2025-04-26 00:19:52 +03:00
pam_regex: Return PAM_IGNORE if called with 'transform=' but without 'regex='
Bug spotted by Ray Morris.
This commit is contained in:
parent
d14f8e6c1f
commit
5d4abc6e44
1 changed files with 1 additions and 1 deletions
|
@ -112,7 +112,6 @@ pam_sm_authenticate(pam_handle_t *pamh,
|
|||
|
||||
DEBUG(90,("enter pam_sm_authenticate"));
|
||||
|
||||
|
||||
/*
|
||||
* get username
|
||||
*/
|
||||
|
@ -149,6 +148,7 @@ pam_sm_authenticate(pam_handle_t *pamh,
|
|||
_pam_log(LOG_ERR, "retval %d", retval);
|
||||
return PAM_AUTHINFO_UNAVAIL;
|
||||
}
|
||||
retval = PAM_IGNORE;
|
||||
}
|
||||
|
||||
if (regex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue