[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openldap-technical
Subject:    Re: Bind to OpenLDAP with a user not in DN format
From:       Ondřej Kuzník <ondra () mistotebe ! net>
Date:       2021-01-17 12:21:16
Message-ID: 20210117122116.GS22418 () mistotebe ! net
[Download RAW message or body]

On Thu, Jan 14, 2021 at 10:27:35PM -0000, gary.algier@mavenir.com wrote:
> Hello,
> 
> I need to bind sometimes with a username that is not in DN format.   I
> have tried to use authz-regexp to translate it but I am not
> successful.

OpenLDAP will try and normalise the incoming DN and an email-like string
is never a valid dn, so there's no way around that.

How limited are your clients? Can they accept a DN to use? Each user in
AD still has a relevant entry, so you can use their DN if you can find
it.

Regards,

-- 
Ondřej Kuzník
Senior Software Engineer
Symas Corporation                       http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic