That's pretty much the steps I follow to completely remove a 389 DS installation.
I presume your "existing scripts" attempt to recreate your DIT. Do they produce any error messages?
----- Original Message -----
From: "Charlie Mordant" cmordant1@gmail.com To: "General discussion list for the 389 Directory server project." 389-users@lists.fedoraproject.org Sent: Monday, April 25, 2016 3:51:28 PM Subject: [389-users] Erasing and rewriting 389
Hi Laposte experts (French national mailing delivery)!
I'm trying some experiments some simple things on 389 ds. I've an existing 389 installation, with some users, groups and acls (on fedora 21), and I'm trying to uninstall, erase my existing ldap to reinstall it.
So my script is: * remove-ds-admin.pl -a -f -y * service stop (dirsrv@myldap, dirsrv-admin) * yum uninstall 389-* * rm -rf /**dirsrv*/** * then reinstalling with my existing script.
As it looks like a nice thing, it seems that there's a catch: my dc=tld,dc=dn subgroups are not created.
Is there something somewhere that I should be aware to be able to remove everything?
Best regards, Charlie
Hi Patrick,
Yes, my script does the exact inverse of the procedure.
I didn't see any error while reinstalling, setup-ds-admin.pl says that all is right...
Regards Le 25 avr. 2016 23:35, "Patrick M. Landry" patrick.landry@louisiana.edu a écrit :
That's pretty much the steps I follow to completely remove a 389 DS installation.
I presume your "existing scripts" attempt to recreate your DIT. Do they produce any error messages?
*From: *"Charlie Mordant" cmordant1@gmail.com *To: *"General discussion list for the 389 Directory server project." < 389-users@lists.fedoraproject.org> *Sent: *Monday, April 25, 2016 3:51:28 PM *Subject: *[389-users] Erasing and rewriting 389
Hi Laposte experts (French national mailing delivery)!
I'm trying some experiments some simple things on 389 ds. I've an existing 389 installation, with some users, groups and acls (on fedora 21), and I'm trying to uninstall, erase my existing ldap to reinstall it.
So my script is:
- remove-ds-admin.pl -a -f -y
- service stop (dirsrv@myldap, dirsrv-admin)
- yum uninstall 389-*
- rm -rf /**dirsrv*/**
- then reinstalling with my existing script.
As it looks like a nice thing, it seems that there's a catch: my dc=tld,dc=dn subgroups are not created.
Is there something somewhere that I should be aware to be able to remove everything?
Best regards, Charlie
-- Charlie Mordant
Full OSGI/EE stack made with Karaf: https://github.com/OsgiliathEnterprise/net.osgiliath.parent
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
--
*Patrick Landry*Director, UCSS University of Louisiana at Lafayette pml@louisiana.edu
-- 389-users mailing list 389-users@lists.fedoraproject.org
http://lists.fedoraproject.org/admin/lists/389-users@lists.fedoraproject.org
389-users@lists.fedoraproject.org