This is the old issue tracking system for DokuWiki. Issues can not be added here anymore. Pleaser refer to for the new system.


FS#2739 - Users cannot alter their profile using Active Directory authentication

Attached to Project: DokuWiki
Opened by Chris (musicalvegan0) - Thursday, 07 March 2013, 14:07 GMT
Last edited by Andreas Gohr (andi) - Sunday, 05 May 2013, 18:12 GMT
Task Type Bug Report
Category ACL & Authentication
Status Closed
Assigned To No-one
Operating System All
Severity Medium
Priority Normal
Reported Version rc2013-03-06 "Weatherwax"
Due in Version Spring 2013 release
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


Users cannot change their password or profile information when using Active Directory authentication.

When first arriving on the profile page, only the Username, Real name, and E-mail fields are available despite having enabled password changing.

Only after a user submits the form with or without changes to his profile do the "New password" and "once again" fields appear. After entering a new password and submitting the form, no changes occur in Active Directory; the profile remains the same as does the password.
This task depends upon

Closed by  Andreas Gohr (andi)
Sunday, 05 May 2013, 18:12 GMT
Reason for closing:  Fixed
Additional comments about closing:  no additional feedback received
Comment by Andreas Gohr (andi) - Monday, 22 April 2013, 19:09 GMT
This is probably fixed in current devel version. Can you please retry? Be sure to access the AD server via SSL or TLS.
Comment by Chris (musicalvegan0) - Wednesday, 24 April 2013, 15:08 GMT
I downloaded the nightly snapshot from here. This build does not fix this issue. Server logs give this message when loading <root>/doku.php/start?do=profile:

[Wed Apr 24 11:03:41 2013] [error] [client x.x.x.x] PHP Warning: ldap_get_entries() expects parameter 2 to be resource, boolean given in /var/www/extras/dokuwiki/doku/lib/plugins/authad/adLDAP/classes/adLDAPUsers.php on line 239, referer: <root>/doku.php/start?do=profile

Please advise. Thanks!
Comment by Andreas Gohr (andi) - Thursday, 25 April 2013, 14:16 GMT
I just pushed another change that seems to fix the problem at least partly.
Comment by Chris (musicalvegan0) - Thursday, 25 April 2013, 14:44 GMT
Should I just take it from the git master? Or is the change available via the nightly build?
Comment by Andreas Gohr (andi) - Thursday, 25 April 2013, 14:47 GMT
nightly build is always the current git master
Comment by Chris (musicalvegan0) - Monday, 06 May 2013, 13:03 GMT
After testing the latest version of DokuWiki, splitbrain-dokuwiki-release_stable_2009-12-25-2856-g0e748a9.tar.gz, I can confirm that this bug has been fixed.