Hi Please tell me how (if possible) to authenticate in OpenLDAP not by cn but by the mail attribute ?
--On Wednesday, April 7, 2021 11:56 AM +0000 Клеусов Владимир Сергеевич Kleusov.Vladimir@wildberries.ru wrote:
Hi Please tell me how (if possible) to authenticate in OpenLDAP not by cn but by the mail attribute ?
LDAP does not authenticate by the cn or mail attributes.
Regards, Quanah
--
Quanah Gibson-Mount Product Architect Symas Corporation Packaged, certified, and supported LDAP solutions powered by OpenLDAP: http://www.symas.com
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
--On Thursday, April 8, 2021 12:33 AM +0200 Dieter Klünter dieter@dkluenter.de wrote:
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"
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
openldap-technical@openldap.org