Shouldn't you fix the malformed userDN? ;)
-----Original Message----- From: mediawiki-enterprise-bounces@lists.wikimedia.org [mailto:mediawiki-enterprise-bounces@lists.wikimedia.org] On Behalf Of Ger Apeldoorn Sent: Tuesday, March 13, 2007 4:59 AM To: mediawiki-enterprise@lists.wikimedia.org Subject: [Mediawiki-enterprise] Bug in LDAPAuthentication.php?
Hi,
I'd like to report a possible bug.
I'm using MediaWiki 1.9 and am setting up OpenLDAP authentication.
I was unable to add users, because of a malformed userDN of the target user. (it was something like uid=testuserou=public,dc=uranus,dc=lan)
I changed this line: $username . $wgLDAPWriteLocation[$_SESSION['wsDomain']]; To: $username . ", " . $wgLDAPWriteLocation[$_SESSION['wsDomain']];
which fixed my problem.
Greetings,
Ger Apeldoorn
Apeldoorn IT - http://www.gerapeldoorn.nl
Mediawiki-enterprise mailing list Mediawiki-enterprise@lists.wikimedia.org http://lists.wikimedia.org/mailman/listinfo/mediawiki-enterprise