--On Thursday, April 8, 2021 12:33 AM +0200 Dieter Klünter
<dieter(a)dkluenter.de> wrote:
Am Wed, 7 Apr 2021 10:56:09 +0000
schrieb Клеусов Владимир Сергеевич
<Kleusov.Vladimir(a)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"
That assumes something other than simple authentication. They never
specified how they are authenticating.
--Quanah
--
Quanah Gibson-Mount
Product Architect
Symas Corporation
Packaged, certified, and supported LDAP solutions powered by OpenLDAP:
<
http://www.symas.com>