Unable to authciate with ldap Mercurial HG in ubuntu 14

Hi,

I am trying to configure ldap authentication but unable to login with doamin account getting below error message.

528] [client 10.12.65.112:54191] AH01617: user anku.sharma@imfcorp.com: authenti                                                                                         cation failure for "/mercurial/hg-stable/": Password Mismatch
[Tue May 05 12:23:30.700305 2015] [auth_basic:error] [pid 15167:tid 139881716086                                                                                         528] [client 10.12.65.112:54192] AH01617: user anku.sharma@imfcorp.com: authenti                                                                                         cation failure for "/mercurial/hg-stable/": Password Mismatch
[Tue May 05 12:23:30.705258 2015] [auth_basic:error] [pid 15166:tid 139881707693                                                                                         824] [client 10.12.65.112:54193] AH01617: user anku.sharma@imfcorp.com: authenti                                                                                         cation failure for "/mercurial/hg-stable/": Password Mismatch

 

Can you pls help me out in that.

Regards,

Anku Sharma

1 answer

1 accepted

Hi,

 

My apache conf file entry as below:

 

 

ScriptAliasMatch ^/mercurial(.*) /mercurial/hgweb.cgi$1
<Directory "/mercurial/">
Options Indexes FollowSymlinks MultiViews ExecCGI
AllowOverride All
Order allow,deny
Allow from all
AuthType Basic
Require valid-user
   AuthBasicProvider ldap
    AuthType basic
    AuthName "ICTS Mercurial"
     AuthUserFile /home/hguser
    AuthLDAPUrl ldap://10.12.2.231:389/dc=imfcorp,dc=com?cn?sub NONE
    AuthLDAPBindDN "username"
    AuthLDAPBindPassword "password"
    Require ldap-group CN=Group,OU=Name,OU=To,OU=Require,dc=imfcorp,dc=com


</Directory>

Suggest an answer

Log in or Sign up to answer
How to earn badges on the Atlassian Community

How to earn badges on the Atlassian Community

Badges are a great way to show off community activity, whether you’re a newbie or a Champion.

Learn more
Community showcase
Posted Jun 12, 2018 in Bitbucket

Do you use any Atlassian products for your personal projects?

After spinning my wheels trying to get organized enough to write a book for National Novel Writing Month (NaNoWriMo) I took my affinity for Atlassian products from my work life and decided to tr...

22,795 views 26 12
Join discussion

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you