Can't add users with a dot in username in PMF 2.7.3 | LDAP

Please report bugs here!

Moderator: Thorsten

Post Reply
kh-phpmyfaq
Posts: 6
Joined: Tue Jan 24, 2012 1:47 pm

Can't add users with a dot in username in PMF 2.7.3 | LDAP

Post by kh-phpmyfaq »

In PMF 2.7.3 with LDAP Auth enabled, users with a dot in their username (j.stevens) can login but are not added to the PMF user list.
Users without dot in their username (jstevens) can login and are added to the PMF user list.

Debug is enabled and there is no error or warning output when a user with a dot in his username logs in.

In PMF 2.7.3 without LDAP auth I can't add users with a username that contains a dot, instead I get the error message "The specified user name is invalid.".

If I add a user without a dot in his username and add a dot by means ob manipulating the corresponding database entry the behaviour gets really strange.
The manipulated user does show in the PMF Usermanagement view with the same id/name/email address as the user thats id-1.

JQ
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Can't add users with a dot in username in PMF 2.7.3 | LD

Post by Thorsten »

Hi,

I'll check it, it'll take some time because I broke my hand...

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
Thorsten
Posts: 15725
Joined: Tue Sep 25, 2001 11:14 am
Location: #phpmyfaq
Contact:

Re: Can't add users with a dot in username in PMF 2.7.3 | LD

Post by Thorsten »

Hi,

fixed for 2.7.4 with https://github.com/thorsten/phpMyFAQ/co ... 6034e28380

bye
Thorsten
phpMyFAQ Maintainer and Lead Developer
amazon.de Wishlist
kh-phpmyfaq
Posts: 6
Joined: Tue Jan 24, 2012 1:47 pm

Re: Can't add users with a dot in username in PMF 2.7.3 | LD

Post by kh-phpmyfaq »

Thx, works

Gute Besserung!
Post Reply