[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: LDAP authentication with uid



Hi Mary,

If this is similar to ssh auth against LDAP using uid, the dn would
look like the following
dn: uid=christine,ou=ELOGAccounts,ou=RavenApps,dc=my-domain,dc=com

Now I am not sure how Apache does the lookup, but if I am wrong, maybe
someone else can reply.

Regards
/Cole

On 22 March 2016 at 21:33, Mary Kao <wmcic@yahoo.com> wrote:
> Hello,
>
> This is a real newbie question ::)
>
> I have configured apache httpd to use LDAP for basic authentication (userid
> and password).
> I am not sure what the directory DN should look like when using "uid" rather
> than "cn"?
>
> In my LDAP directory I have:
>
> dn: cn=Christine Smith,ou=ELOGAccounts,ou=RavenApps,dc=my-domain,dc=com
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: uidObject
> cn: Christine Smith
> sn: Smith
> uid: christine
> userPassword:: Y2hyaXN0aW5l
>
>
> Where do I put the "uid" so that when the httpd sends over the uid the ldap
> server will search on it?
>
> Thank you,
> Mary
>
>