Help - Search - Members - Calendar
Full Version: .htaccess and LDAP
Hostony Board > General Support > General Support
blackburnrovers
I am trying to restrict directories on my web server, but want to use an external LDAP server to check credentials. I have tried a few different example from the web with no success. I am wondering if Apache as it is can support this LDAP authentication. This is the code I am including in the .htaccess file:
CODE
order deny,allow
deny from all
AuthType Basic
AuthName "My LDAP Auth"
AuthLDAP on
AuthLDAPServer ldap://myserver.org
AuthLDAPBase "cn=users,dc=MyServer,dc=org"
require valid-user


I also found this link, but the code from there doesn't work either.

Any ideas?
JasonJones
auth_ldap needs to be installed in apache for that to work.
Alec
The server configuration has to be updated to support it. Please open a trouble ticket and we'll do it on weekend.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2024 Invision Power Services, Inc.
IPS Driver Error

IPS Driver Error

There appears to be an error with the database.
You can try to refresh the page by clicking here