Drupal-4.5.1, mysql, apache2, mod_ntlm

Authentication is successful but the auto-created user has first letter missing in his/hers username.

Checked database and user record has "init" field correct, but "name" field missing the first character.

User upon login can change this in user/edit form, but this "glitch" gives bad impressions...

Comments

mmaglis’s picture

Priority: Minor » Critical

A correction to the above. Table "users" has "name" field missing first character, but also table "authmap" has "authname" field missing first character.

This (possibly) creates problems in authentication when users change their "Name".

This is changed to critical, for it makes the webserver auth module unusable under ntlm authentication (at least).

mmaglis’s picture

Priority: Critical » Normal

I must correct my above comment:

Changing user name does not create problems in subsequent re-logins. Here what my last findings are:

When I cleared tables "users" and "authmap" of user entries and tried to access the portal with a fresh ntlm authenticated user the following message appeared in a blank page:

Fatal error: Call to undefined function: l() i /var/www/drupal-4.5.1/modules/webserver_auth/webserver_auth.module on line 23

after which if I reloaded the page, i got the portal ok, but the user had the same initial character missing.

subsequent tries to login with a new browser instance and with the same user proved successful even if the user had changed the name and the password (the last one seems to have no effect).

Priority downgraded to normal.

mmaglis’s picture

Version: 4.5.x-1.x-dev » master
Priority: Normal » Minor
Status: Active » Closed (fixed)

I've received a reminder of this bug report I posted 2 YEARS ago. I do not know if this has been resolved since. I do not use drupal anymore. Sorry.