[commits] [Wiki] changed: RemoveUserData
Wiki Guest
wikiguest at horde.org
Fri Mar 29 16:16:14 UTC 2013
guest [91.54.34.76] Fri, 29 Mar 2013 16:16:14 +0000
Modified page: http://wiki.horde.org/RemoveUserData
New Revision: 12
Change log: remove dead links and text
@@ -76,58 +76,5 @@
echo "suppressed $supp\n";
?>
</code>
-++ A stand-alone script
-From Bill Graham:
-http://www2.hurleybulldogs.com/billsblog/?p=21
-
-
-++ Stand-alone Perl scripts that remove user data from all Horde applications
-
-By Didi Rieder <adrieder at sbox dot tugraz dot at>
-
-The attached perl scripts help you to remove user data form all
applications in your horde system.
-One script does that by connecting to your mySQL database and the
other uses XMLRPC to call a Horde API method.
-
-The SQL solution will be much faster when one needs to bulk remove
users and it does not need patching of the
-non CVS horde API.
-
-+++ SQL driven
-
-**Required Perl modules:**
-> DBI (download from CPAN)
-> DBD::mysql (download from CPAN)
-> !HordeSQL.pm
([http://wiki.horde.org/h/services/download/?module=wicked&page=RemoveUserData&file=HordeSQL.pm&version=1.0&fn=%2FHordeSQL.pm
attached])
-
-**Script file:**
-> removeHordeUserSQL.pl
([http://wiki.horde.org/h/services/download/?module=wicked&page=RemoveUserData&file=removeHordeUserSQL.pl&version=1.0&fn=%2FremoveHordeUserSQL.pl
attached])
-
-**Usage:**
-Edit the script file and provide the connection parameters in the
!HordeSQL->new() method.
-Then run the script as follows:
->> removeHordeUserSQL.pl <user|userfile> [realm]
-the first argument is the user you want to remove, or a file that
contains a list of users that should be removed (one user each line).
-You can optionally provide a second argument which is interpreted as
realm and gets added to each user that is to be removed.
->
-+++ XMLRPC & API driven
-
-**Required Perl modules:**
-> SOAP::Lite (download from CPAN)
-> !HordeXMLRPC.pm
([http://wiki.horde.org/h/services/download/?module=wicked&page=RemoveUserData&file=HordeXMLRPC.pm&version=1.2&fn=%2FHordeXMLRPC.pm
attached])
-
-**Script file:**
-> removeHordeUserXMLRPC.pl
([http://wiki.horde.org/h/services/download/?module=wicked&page=RemoveUserData&file=removeHordeUserXMLRPC.pl&version=1.0&fn=%2FremoveHordeUserXMLRPC.pl
attached])
-
-**Usage:**
-Edit the script file and provide the connection parameters in the
!HordeXMLRPC->new() method.
-Then run the script as follows:
->> removeHordeUserXMLRPC.pl <user|userfile> [realm]
-the first argument is the user you want to remove, or a file that
contains a list of users that should be removed (one user each line).
-You can optionally provide a second argument which is interpreted as
realm and gets added to each user that is to be removed.
-
-##red|Note##: At this time you need to patch the horde API in order
to add the removeUserDataFromAllApplications() method which is used by
the
-perl script:
[http://cvs.horde.org/diff.php/horde/lib/api.php?rt=horde&r1=1.43.2.14&r2=1.43.2.15&ty=u Patch]
\
-(The patch is not needed if you are running an up to date CVS version
of Horde or a Horde version 3.3.5 or newer.)
-
-##red|Note##: This is not H4 compatible!
More information about the commits
mailing list