This question about LDAP: Answered

change password using LdapContrib

When I try to change the user password on a system enabled for LDAP Auth, I get the following msg:
"Sorry, the password system is currently read only"

LdapContrib verison - 3.0.1

I searched for a solution and couldn't find one..
Can someone help with this issue?

Thanks.

-- RajSeenivasan - 23 Apr 2009

LDAP updates are currently not supported by any of the existing ldap extensions for Foswiki. You have to write your own code or include some other scripts from other tools to accomplish the password update task.

If you include other scripts, make sure to use a refreshldap=on url parameter when returning back to Foswiki. This refreshes the cache of authentication data. http://my.host/foswiki/bin/view/AnyWeb/AnyTopic?refreshldap=on

-- OliverKrueger - 03 May 2009

LdapContrib does support changing the password. Make sure that your proxy ldap user has got write access to the relevant password fields. If it still doesn't work then this is an error.

-- MichaelDaum - 03 May 2009

I have the right Bind DN and Bind Password under the configure section. But the password change option is disabled for some reason. LDAP lookups and LDAP Auth login works fine. Anyone with the same issue? Need to get this fixed to move from TWiki to Foswiki. Under TWiki, we have the LdapPasswordChangerPlugin to handle the password change. Thx.

-- RajSeenivasan - 05 May 2009

Foswiki can run TWiki plugins as well - in case you want to continue to use LdapPasswordChangerPlugin. But using LdapContrib directly may be a better solution in your case.

-- OliverKrueger - 06 May 2009

I've been experiencing the same problem. proxy user has sufficient rights, option is checked in configure everything else works, but changepassword, more specifically the context password_modifyable is set to false. I do not understand the reason for this.

However, once I manually set NOTMODIFYAMBLE to "" in the topic it works like a charm.

-- FrankEckert - 06 Oct 2009

QuestionForm edit

Subject LDAP
Extension LdapContrib
Version
Status Answered
Topic revision: r8 - 06 Oct 2009, FrankEckert
The copyright of the content on this website is held by the contributing authors, except where stated elsewhere. See Copyright Statement. Creative Commons License    Legal Imprint    Privacy Policy