httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Davide Bianchi <>
Subject Re: [users@httpd] Confused about LDAP authentication with Active Directory
Date Thu, 26 Feb 2009 14:51:12 GMT
Ed Avis wrote:
> <> imply that
> Apache connects to the LDAP server using a fixed username and
> password, and then merely queries the existence of an object in the
> directory that matches the username. If so how does it check the
> password supplied by the user?

The problem is that in order to check the password, you need to 'bind'
to the AD server using the correct DN, in order to find the DN you need
to query the AD server with the username. But AD doesn't allow you to
query it without first binding.

So you need to bind in order to query, but you need to query to bind. Is
a sort-of catch-22 situation. Hence the need for a fixed
username/password to do the first query.


Violence, rude language, excessive drinking,
paganism. It's hard to find children's books like that these
--Stig Morten Valstad on alt.sysadmin.recovery

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message