Project

General

Profile

Actions

Patch #5690

open

Change LDAP password

Added by Oskar H almost 14 years ago. Updated 4 months ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
LDAP
Target version:
-
Start date:
2010-06-15
Due date:
% Done:

0%

Estimated time:

Description

Hello Guys i created a patch for changing userpassword that stored in LDAP.

i created a fork on github and develop the stuff and pushed to davis but i don't get any answer so i wrote a email and he doesn't answer so i thought i could post it here.

Here is my mail to davis:

Hello,

a few days ago i send you a pull request from my develop branch of redmine (http://github.com/bullshit/redmine/tree/develop)
i have made some changes to be able to change the password from you external auth source.

On the LDAP configuration page you could enable password changing for this auth sources and set the encryption type.

First it will try to login with the manager account to change the password if this doesn't work it will try to bind if the user as it self to change his password
For this the ldap server has to gave the user it self the access to change his user password

for example
access to attrs=userPassword,mail
by dn="cn=manager,dc=system" write
by anonymous auth
by self write
by * auth
by * none

access to *
by dn="cn=manger,dc=system" write
by * read

For the encryption type i used a "enum" plugin (http://enum-column.rubyforge.org/)

Patchfile can be found at http://github.com/downloads/bullshit/redmine/ldappassword.patch

Regards
- Oskar


Files

ldappassword.patch (47.8 KB) ldappassword.patch change user ldap password Oskar H, 2010-06-15 14:18
ldappassword.patch (8.91 KB) ldappassword.patch change user ldap password without enum plugin Oskar H, 2010-06-16 14:38
ldap_password_change_10084.diff (6.33 KB) ldap_password_change_10084.diff Kevin Wood, 2012-08-04 00:10
ldap_change_password_3.2.0.patch (7.55 KB) ldap_change_password_3.2.0.patch Hang Xie, 2015-12-09 05:04
redmine_3_2_stableLDAP_password_recovery_and_change.patch (11.7 KB) redmine_3_2_stableLDAP_password_recovery_and_change.patch Oleksandr Melnyk, 2016-06-24 18:17
red_3.2_stableLDAP_patch.JPG (48.2 KB) red_3.2_stableLDAP_patch.JPG Xavier Godon, 2016-10-25 10:56
redmine_ldap_passwd_patch_issue_5690.patch (7.21 KB) redmine_ldap_passwd_patch_issue_5690.patch Andrey Ivanov, 2024-01-08 08:30

Related issues

Has duplicate Redmine - Feature #18934: Support LDAP Password ChangingClosed

Actions
Actions

Also available in: Atom PDF