[horde] Question about password reset function.

Ralf Lang lang at b1-systems.de
Tue Sep 3 18:32:24 UTC 2013

On 03.09.2013 20:24, W Z wrote:
> Gents,
> The more I dig into this issue, the more issues I have caused. To this
> point, It is more of my own ignorance ...
> Here is what I got.
> I went to Authentication module, change Conf['auth']['driver']  to 
> mysql , then generated the config file, and added an account
> "Administrator" with password. Then I log out and try to log in.
> Now I got Fata error...
> see the MSGs below
>   A fatal error has occurred
>       exception 'PDOException' with message 'SQLSTATE[23000]: Integrity
>       constraint violation: 1062 Duplicate entry 'administrator' for key
>       'rampage_users_user_name'' in

It seems like you somehow added the "administrator" user twice.
If you have any chance, drop the database, recreate it and start anew
running the "db upgrades" from the admin screen

Otherwise, delete:

delete from rampage_users where user_name='administrator';
delete from horde_users where user_uid='administrator';

And re-add the user.

You may need to revert to "auto" login first (stock conf.php) to access
admin screen again.

Ralf Lang
Linux Consultant / Developer
Tel.: +49-170-6381563
Mail: lang at b1-systems.de
B1 Systems GmbH
Osterfeldstraße 7 / 85088 Vohburg / http://www.b1-systems.de
GF: Ralph Dehner / Unternehmenssitz: Vohburg / AG: Ingolstadt,HRB 3537

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 263 bytes
Desc: OpenPGP digital signature
URL: <http://lists.horde.org/archives/horde/attachments/20130903/0d2c9e1f/attachment.bin>

More information about the horde mailing list