[horde] Question about removing userdata from horde (mysql)

Jan Schneider jan at horde.org
Wed Oct 25 04:28:33 PDT 2006

Zitat von Daniel Ritter <daniel at daniel-ritter.de>:

> Hallo,
> I am wondering if there is a "right" way to remove all data from a  
> certain user from horde's apps.
> I am using Mysql and the Datatree (Mysql) as a backend.
> Authentication is done via IMP and our local IMAP-server.
> Now when removing an user from our local UNIX passwb, the user isn't  
> able to log into Horde anymore,
> because Courier uses PAM as auth. No unix-user, no Courier user, no  
> Horde User.
> This leaves all the users data like calendars, addressbooks, etc in  
> hordes mysql-database.
> I was wondering if there is a "right" way to remove that leftover  
> data from the horde mysql-tables.

There is not right way yet, though we have some basic code that's  
doing this already for some data and should be extended in the future  
to remove all user data.

> Is there a premade script I haven't found or would i just do a few
> "remove from horde_foo where uid='$user_to_delete' "?
> Would that be dangerous? Could it break something else?

Yes. Could, but doesn't have to.

> What about shared userdata?

For example.


Do you need professional PHP or Horde consulting?

More information about the horde mailing list