Am Wed, 7 Apr 2021 10:56:09 +0000
schrieb Клеусов Владимир Сергеевич <[email protected]>:

> 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

-- 
Dieter Klünter | Systemberatung
http://sys4.de
GPG Key ID: E9ED159B
53°37'09,95"N
10°08'02,42"E

Reply via email to