[Ilugc] Help:Ldap configuration in apache 2.2(redhat 6)

  • From: hariprasadh89@xxxxxxxxx (hari prasadh)
  • Date: Sun, 10 Feb 2013 09:37:02 +0530

Hi Everyone,

I have done a setup like redirecting the request from port 8080 to 80. and
configured a ldap over there as below:

i have changed /etc/httpd/conf/httpd.conf

<VirtualHost *:80>
    ServerAdmin hariprasadh.balasubramanian at xyz.com
    DocumentRoot /var/www/html
    ServerName (hostname given correctly)
    ErrorLog /var/log/error.log
    <Location /sss>
         AuthBasicProvider ldap
         AuthType Basic
         AuthzLDAPAuthoritative off
         AuthName "Enter ur AD username and password"
         AuthLDAPURL "
ldap://xxx.com:389/OU=yyy,DC=zzz,DC=aaa?sAMAccountName?sub?(objectClass=*)"
         AuthLDAPBindDN "emailid"
         AuthLDAPBindPassword password
         require valid-user
    </Location>
    ProxyPass /sss http://ipaddr:8080/sss
    ProxyPassReverse /sss http://ipaddr:8080/sss
    </VirtualHost>
When i see my error log,it is as below


[Sun Feb 03 19:04:34 2013] [error] Exception KeyError:
KeyError(140574763460576,) in module 'threading' from
'/usr/lib64/python2.6/threading.pyc' ignored
[Sun Feb 03 19:04:34 2013] [error] Exception KeyError:
KeyError(140574763460576,) in module 'threading' from
'/usr/lib64/python2.6/threading.pyc' ignored

and i have changed the referals off in /etc/openldap/ldap.conf

can somebody help me out whether the configuration is right ?
Suggest me the right solution..

Apart from that i have done authentication by kerberos,it works and again i
have to bother for authorization,becoz it has to be done in ldap ( group
based authorization.)
i want to allow one particular group to access my url

how to enable the debug mode in apache to see the error log clearly.

Low priority:
Redirecting the request from 80 to 443 in apache

-- 
Thanks & Regards,
HariPrasadh

Other related posts:

  • » [Ilugc] Help:Ldap configuration in apache 2.2(redhat 6) - hari prasadh