Thank you.
I created the following apache config file -
LogLevel debug
CustomLog "logs/access_log" combined
ErrorLog "logs/error_log"
LoadModule ldap_module modules/mod_ldap.so
LoadModule authnz_ldap_module modules/mod_authnz_ldap.so
ServerName MyServer
LDAPTrustedMode NONE
LDAPVerifyServerCert Off
SetHandler server-status
Order Deny,Allow
Deny from all
AuthType Basic
AuthName "MyServer"
AuthBasicProvider ldap
AuthLDAPBindDN cn=admin,dc=myserver,dc=com
AuthLDAPBindPassword serverPW
AuthLDAPCompareDNOnServer Off
AuthLDAPURL
ldap://MyServer:389/ou=people,dc=MyServer,dc=comuid,ou=people,dc=MyServer,dc=com?sub NONE
AuthzLDAPAuthoritative off
AuthUserFile /dev/null
Require valid-user
Satisfy any
I get a login window. When I enter my LDAP login and password, I get thrown out of the system with the error:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@NAS and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.
Any thought of errors in the code or what I am doing wrong is greatly appreciated.
Thanks.