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

0 votes
Accepted answer

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
Community showcase
Published Nov 06, 2018 in Bitbucket

Upgrade Best Practices

Hello! My name is Mark Askew and I am a Premier Support Engineer for products Bitbucket Server/Data Center, Fisheye & Crucible. Today, I want to bring the discussion that Jennifer, Matt, and ...

207 views 3 7
Read article

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