View Issue Details

IDProjectCategoryView StatusLast Update
0006017SOGoWeb Generalpublic2024-09-04 14:00
Reporterzhb Assigned To 
PrioritynormalSeverityfeatureReproducibilityhave not tried
Status newResolutionopen 
Summary0006017: Support "userPasswordPolicy" when authenticating using LDAP
Description

Dear developers,

SOGo offers parameter userPasswordPolicy when authentication using SQL:
https://www.sogo.nu/files/docs/SOGoInstallationGuide.html#Authentication-using-SQL

It supports:

  • Minimum of 1 lowercase letter
  • Minimum of 1 uppercase letter
  • Minimum of 1 digit
  • Minimum of 2 special symbols
  • Minimum length of 8 characters

But with LDAP, it offers parameter passwordPolicy which relies on LDAP Password Policies attributes, the most importantly, it's different than what userPasswordPolicy does.

Quote from OpenLDAP Administrator's Guide (https://www.openldap.org/doc/admin26/overlays.html#Password%20Policies):

The key abilities of the password policy overlay are as follows:

  1. Enforce a minimum length for new passwords
  2. Make sure passwords are not changed too frequently
  3. Cause passwords to expire, provide warnings before they need to be changed, and allow a fixed number of 'grace' logins to allow > 4. them to be changed after they have expired
  4. Maintain a history of passwords to prevent password re-use
  5. Prevent password guessing by locking a password for a specified period of time after repeated authentication failures
  6. Force a password to be changed at the next authentication
  7. Set an administrative lock on an account
  8. Support multiple password policies on a default or a per-object basis.
  9. Perform arbitrary quality checks using an external loadable module. This is a non-standard extension of the draft RFC.

As you can see, they're totally different and only first rule is supported by SQL userPasswordPolicy.
So the request is, can we support userPasswordPolicy when authenticating using LDAP?

TagsNo tags attached.

Activities

There are no notes attached to this issue.

Issue History

Date Modified Username Field Change
2024-09-04 09:24 zhb New Issue
2024-09-04 14:00 sebastien Severity minor => feature