On a new installation of Drupal-4.51, install webserver-auth module.

On first login, (already using http authentication), create first user, enable webserver_auth module, and logout produces error:

>>user error: Duplicate entry 'a_blun' for key 2
>>query: INSERT INTO users (name, pass, init, status, created, changed, uid) VALUES ('a_blun',
'6411532ba4971f378391776a9db629d3', 'a_blun', '1', '1102092325', '1102092325', '2') in
/var/www/html/csn/members/includes/database.mysql.inc on line 125.

http authenticated and drupal 1st account username and password are identical.

Comments

moshe weitzman’s picture

just browse to your site while logged in as someone else. this will properly register a new user.

then manually add a record in the authmap table for uid=1. the record should look similar to the one created for uid=2.

Anonymous’s picture