The LDAP users, which authenticate on a different system, are receiving email alerts about their password expiring. The authenticating system, which manages the password modification and expiration, causes the LDAP users to have their profiles grey-out their passwords, therefore, they cannot change them within the Drupal system.
Comments
Comment #2
petar.kolicov commentedI added option 'Exclude authmap users' the option by default is disabled and in cron I add check if this option is enabled we exclude all authmap users.
Comment #3
aohrvetpv commentedThanks for the bug report and patch. Quick review:
- Variables defined by a module must be prefixed with the name of the module. So "password_policy_exclude..." Prevents name collisions.
- Patch seems to have some unrelated changes: a new XML file and an indentation change in unrelated code.
Comment #4
aohrvetpv commentedThe approach in #1888366: Password Policy should optionally ignore users managed by other modules, used by 7.x-2.x, seems like it may be a better solution. It allows ignoring password policies for specific authentication modules, rather than all authmap users.
Comment #5
aohrvetpv commentedI am developing a patch.
Comment #6
aohrvetpv commentedPatch that allows excluding authentication modules on a per-policy basis.
A fieldset is added to the policy configuration form that allows specifying which authentication modules the policy should not be applied to.
The fieldset is added only when users exist on the site who authenticated with one or more external authentication modules. That is, if you do not use external authentication modules, the configuration form is the same as before.
Lacks automated tests. May adversely affect performance/caching--need to study more.
Please review/test!
Comment #7
aohrvetpv commentedPrevious patch was missing an added file.
Comment #10
aohrvetpv commentedFixed PHPLint error (hopefully).
Comment #11
aohrvetpv commentedUpdated to apply on latest -dev code.
Comment #12
aohrvetpv commentedAdded test case.
Comment #14
aohrvetpv commented