Defect #9879

Redmine 1.2.2, Mercurial, LDAP

Added by Marco Battistoni over 10 years ago. Updated over 10 years ago.

Status:NewStart date:
Priority:NormalDue date:
Assignee:-% Done:

0%

Category:SCM extra
Target version:-
Resolution: Affected version:1.2.2

Description

I have an installation of Redmine 1.2.2 with LDAP and I have configured the server as per the instructions [http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_12x_with_Mercurial_and_Subversion_on_Ubuntu_Server_1004 [HowTo_Install_Redmine_12x_with_Mercurial_and_Subversion_on_Ubuntu_Server_1004 ]] the only difference is that is install on a Centos 5.7. Everythings works perfectly smooth, creation of repository, the authorization on redmine via mysql is working great. The problem is when I attached the LDAP server the users(LDAP users) do not have the password recorded in the mysql and therefore I can authenticate correctly in redmine, but I cannot push on the Mercurial repository.

Do I miss something?

Thank you for your answer.

Marco

History

#1 Updated by Marco Battistoni over 10 years ago

Sorry last thing I can push correctly if the user is registred directly in redmine and not in the LDAP.

#2 Updated by Etienne Massip over 10 years ago

  • Category changed from LDAP to SCM extra
  • Assignee deleted (Jean-Philippe Lang)

You mean with Reposman.rb? What is the symptom?

#3 Updated by Marco Battistoni over 10 years ago

No I mean that with LDAP the password is not stored in the database, consequence that Mercurial cannot access Redmine via the database and so the LDAP user, for example, cannot push in the repository. Is this a bug? or am I missing something ??
Thanks

#4 Updated by omer nanjip over 10 years ago

  • Assignee set to Etienne Massip

#5 Updated by Etienne Massip over 10 years ago

  • Assignee deleted (Etienne Massip)

#6 Updated by Etienne Massip over 10 years ago

Marco Battistoni wrote:

No I mean that with LDAP the password is not stored in the database

I got that, but this is normal, Redmine don't have to store the LDAP password.

, consequence that Mercurial cannot access Redmine via the database and so the LDAP user, for example, cannot push in the repository. Is this a bug? or am I missing something ??

I don't get that, how do you push what?

If you're pushing(?) through Apache + redmine.pm then it should work fine with LDAP; maybe the issue is due to the lack of Redmine user <-> Repo user mapping in the project settings Repository tab?!

Also available in: Atom PDF