[Ilugc] Re: help on svn authentication

  • From: y.jyothirao@xxxxxxxxx (jyothi)
  • Date: Wed Jul 16 11:35:48 2008

Thanks for your reply.

If it prompts for password again it was clear that the password does
not match with the one stored in the authenticator. Please refer to
following directives and verify if you need to use them in your
configuration:
        on entering the correct username and password, nothing happens. the
popup with password request
        appears again. Apache2 logfile says nothing, On typing a false password,
apache log says:  Password Mismatch

Tried adding the parameters: AuthBasicProvider and AuthLDAPEnabled , got the
following error:
        Invalid command 'AuthLDAPEnabled', perhaps misspelled or defined by a
module not included in the server configuration

In addition, verify the apache version you use. If it is apache 2.2,
please be aware that the module mod_auth_ldap has been renamed as
mod_authnz_ldap. See if you have to use any other directives specific
to this version.

        Yes I am using the Apache2.2 with mod_authnz_ldap, the only difference i
found was AuthzLDAPAuthoritative variable.

# LDAP Authentication & Authorization is final; do not check other databases
AuthzLDAPAuthoritative off

If this is off and if userid/passwd not exists in LDAP, the
authentication would fall back to passwd based authentication.
        I have made it 'on', even then no change.

My current configuration in httpd.conf:
        AuthBasicProvider ldap
        AuthzLDAPAuthoritative on
        AuthType Basic
        AuthName "Your Subversion Repository"
        AuthLDAPBindDN "uid=user_name,ou=People,dc=bksys,dc=co,dc=in"
        AuthLDAPBindPassword "user_password"
        AuthLDAPURL "ldap://ldapipaddress:389/ou=People,
dc=bksys,dc=co,dc=in?uid?sub?(objectClass=*)"
        Require valid-user
        AuthUserFile /dev/null
              #AuthPAM_Enabled on
              #AuthType Basic
              #AuthName "PAM"
              #Require valid-user
              </Directory>


Thanks,
Jyothi

Other related posts: