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 Join to answer
Community showcase
Piotr Plewa
Published Dec 27, 2017 in Bitbucket

Recipe: Deploying AWS Lambda functions with Bitbucket Pipelines

Bitbucket Pipelines helps me manage and automate a number of serverless deployments to AWS Lambda and this is how I do it. I'm building Node.js Lambda functions using node-lambda&nbsp...

709 views 0 4
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
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot