[Mediawiki-l] LDAP Authentication
Platonides
Platonides at gmail.com
Tue Sep 4 17:02:34 UTC 2007
catim wrote:
> Hi all,
>
> I want to authenticate in a LDAP server using Extension:LDAP
> Authentication, but my "uid" is "first_lastname" (underline character).
> My LDAP server receive "first lastname" (space).
> If my uid doesn't have the underline, i can ogin without problem.
>
> How can I send the correct uid to LDAP server?
>
> Where are the "str_replace" stuuf that remove the underline and make a
> space?
>
> Thanks.
There's a correlation between usernames and page names. It's all in the
Title class. You're better adding a str_replace() before sending to the
LDAP server.
More information about the MediaWiki-l
mailing list