Re: [SR-Users] Cleaning up presence info when user is deleted

2011-09-30 Thread Krishna Kurapati
Thanks for the help. I was wondering if I needed remove from the cache also. I am now removing from subscriber and xcap table just to make sure that the database does not contain stale data. Krish Kura On Fri, Sep 30, 2011 at 3:01 AM, Daniel-Constantin Mierla wrote: > Hello, > > just to add th

Re: [SR-Users] Cleaning up presence info when user is deleted

2011-09-30 Thread Daniel-Constantin Mierla
Hello, just to add that besides having the records in xcap table, if the user is removed, it should have no access to it because it will be authenticated for that. But since there is no record in subscriber table anymore, the authentication will fail always. So besides taking harddrive space,

Re: [SR-Users] Cleaning up presence info when user is deleted

2011-09-28 Thread Peter Dunkley
Hello, You don't need to worry about the contents of the presentity, watcher, and active watcher tables. Entries in these tables will be deleted if the user un-subscribes or logs out properly, and failing that automatically cleaned up when the records themselves expire. When you remove a user yo

[SR-Users] Cleaning up presence info when user is deleted

2011-09-27 Thread Krishna Kurapati
Hi, When a user is removed using "kamctl rm", is there way way to clean up presence information in the database (xcap, presentity, watcher and active watcher tables) and in the cache? Is there a event that gets fired when the user is removed from subscriber table which I could handle in config fi