Patch #5690
openChange LDAP password
0%
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
Related issues