Am Wed, 7 Apr 2021 10:56:09 +0000 schrieb Клеусов Владимир Сергеевич Kleusov.Vladimir@wildberries.ru:
Hi Please tell me how (if possible) to authenticate in OpenLDAP not by cn but by the mail attribute ?
Try this one:
authz-regexp "uid=(.*),cn=.*,cn=auth" "ldap:///cn=example,cn=com??sub?mail=$1"
-Dieter