[ejabberd] delete jabber contact

Konstantin Khomoutov flatworm at users.sourceforge.net
Wed Jul 14 19:16:23 MSD 2010

On Wed, 14 Jul 2010 16:31:28 +0200
Giovanni Mancuso <suuuper at messinalug.org> wrote:

> i use ejabberd 2.1.0 and i have a problem.
> If i create in my ldap user user1 at example.com that add new contacts,
> i delete this user and i recreate this user, he has the same contacts
> of one.
> Can i delete the contacts of one user after that i delete the user
> from my ldap?
> Any ideas?

Possibly this is because the contacts or all users are stored on the
server, and the LDAP database is only used to authenticate users.
Hence, when you delete a user from your LDAP database, you merely
prevent that user from authenticating; this obviously does not remove
any information pertaining to that user from the ejabberd's database.

So use `ejabberdctl unregister user1 example.com` on the server and then
delete your user from LDAP. You can also delete users using the
ejabberd's web interface.

More information about the ejabberd mailing list