[jadmin] jabberd2 - recreate users

How at jabbercn.org how at jabbercn.org
Fri Mar 2 02:34:02 CST 2007


In jabberd2, delete user just mean delete one record from authreg table.
Delete related record from active table,then you can recreate the user form client.
But,this is not enough.
Some other records (from roster,vcard and so on) also need to delete.

How

----- Original Message ----- 
From: "Dan Seyfried" <dan.seyfried at gmail.com>
To: <jadmin at jabber.org>
Sent: Thursday, March 01, 2007 4:04 AM
Subject: [jadmin] jabberd2 - recreate users


> In jabberd2 with mysql auth/storage ... it is simple enough to delete
> a user from the authreg table.  However, when trying to recreate the
> same username, from a client with auto-registration turned on ... the
> user cannot be created.
> 
> Of course, one can go back into mysql and add the same username back
> into the authreg table and all is well.  However, when doing this, any
> new values (buddies) in the roster template are not (for lack of
> better word) auto-configured for that user.
> 
> Does anyone know what is really necessary to truly delete a user (so
> that user can be re-created by auto-registration)?
> 
> Thank you.
> _______________________________________________
> JAdmin mailing list
> JAdmin at jabber.org
> http://mail.jabber.org/mailman/listinfo/jadmin
> FAQ: http://www.jabber.org/about/jadminfaq.shtml
> _______________________________________________


More information about the JAdmin mailing list