Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

i would like to setup a LDAP Authentication with Apache 2.4. LDAP Sever is a Windows 2008.

My .htaccess looks like:

AuthType Basic
AuthName "Login"
AuthBasicProvider      ldap
AuthLDAPBindDN         "CN=user,OU=Dienstkonten,DC=company,DC=lan"
AuthLDAPBindPassword   "pwd"
AuthLDAPURL            "ldap://dc.company.lan/DC=company,DC=lan?sAMAccountName?sub?(objectClass=*)" NONE

require ldap-group CN=Login-Group,OU=Dienstkonten,DC=company,DC=lan

But i get always the error:

(70023)This function has not been implemented on this platform: AH01277: LDAP: Unable to add rebind cross reference entry. Out of memory?

What do i wrong? How can i authenticat users with ldap and apache 2.4?

share|improve this question

migrated from stackoverflow.com Sep 28 '12 at 8:00

This question came from our site for professional and enthusiast programmers.

add comment

2 Answers

ldap://dc.company.lan/DC=company,DC=lan?sAMAccountName?sub?(objectClass=*)

This filter appears to search the entire directory including every possible object class. Surely you can cut it down to whatever object class you are using for people?

share|improve this answer
add comment

Since this looks like an error coming from the Win AD you could either directly contact Microsoft and ask them for feedback.

Or you could prepare that step by first setting up a standard LDAP server (e.g. OpenLDAP), fill it with testdata corresponding to your AD contents) and test your setup against this LDAP server.

After successfully finishing that one try again with the AD. If that does not then you might setup OpenLDAP to provide the necessary "view" of the AD to have the application succeed.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.