Deleting LDAP authenticated users

Hi everyone,

I'm setting up a jabber server with LDAP authentication.

As far as I can tell by now, those users are not listed by ejabberdctl registered_users jabber.example.com?

What do I have to do to delete the roster of a user that gets deleted in my LDAP directory?

It's important, because a new user might be created with the same username and he'd have all the contacts in the roster of the old user.

Greetings,
Balu

ulab wrote: What do I have to

ulab wrote:

What do I have to do to delete the roster of a user that gets deleted in my LDAP directory?

If you have mod_admin_extra installed and running, you can run:

$ ejabberdctl process_rosteritems list any any badlop2@localhost any
There are 2 roster items in total.
Matches: badlop2@localhost contact1@localhost
Progress 50% - visited 1 - deleted 1
Progress 100% - visited 2 - deleted 1

$ ejabberdctl process_rosteritems delete any any badlop2@localhost any
There are 2 roster items in total.
Matches: badlop2@localhost contact1@localhost
Progress 50% - visited 1 - deleted 1
Progress 100% - visited 2 - deleted 1
Syndicate content