Thread: LDAP with apache2
i enabled ldap authentication group in apache2.2 working fine. when enabled sub group search using authldapsubgroupdepth 1 showing error
invalid command 'authldapsubgroupdepth', perhaps misspelled or defined module not included in server configuration
here below ldap coding apache2 running in ubuntu 10.04
authzldapauthoritative on
authtype basic
authname "xxxxx"
authbasicprovider ldap
authldapsubgroupdepth 1
authldapbinddn "cn=username,cn=users,dc=domainname,dc=co,dc=i n"
authldapbindpassword password
authldapurl "ldap://ipaddressofserver:3268/dc=domainname,dc=co,dc=in?samaccountname?sub?(obje ctclass=*)"
require ldap-group cn=groupname,cn=users,dc=domainname,dc=co,dc=in
checked enabling authnz ldap. working.
#a2enmod authnz_ldap
considering dependency ldap authnz_ldap:
module ldap enabled
module authnz_ldap enable
why error showing. if body knows please reply
Forum The Ubuntu Forum Community Ubuntu Specialised Support Ubuntu Servers, Cloud and Juju Server Platforms [ubuntu] LDAP with apache2
Ubuntu
Comments
Post a Comment