Summary: Reimplement ds_remove (cgi) and ds_removal (command line wrapper) without setuputil code https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=247215 ------- Additional Comments From nhosoi@xxxxxxxxxx 2007-07-16 20:29 EST ------- Created an attachment (id=159392) --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=159392&action=view) New file: ds_removal: command line wrapper for ds_remove Usage: ./ds_removal -s server_id -w admin_password server_id: Directory server identifier; slapd-<server_id> admin_password: Administration user password ------- Additional Comments From nhosoi@xxxxxxxxxx 2007-07-16 20:42 EST ------- Created an attachment (id=159393) --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=159393&action=view) cvs diff (adminserver) Files: Makefile.am admserv/cgi-src40/ds_remove.inDescription: 1) adding ds_removal to the package
2) adding more error checks to ds_remove I have an issue in ds_remove. The script is capable to remove the configuration directory server. But if I run setup-ds-admin.pl after removing the config DS, the script puts [yes] to the default answer, that is, setup-ds-admin.pl thinks the config DS exists.
I guess if ds_remove removes the config DS, it needs to clean up some more, e.g., admin-serv/adm.conf(?). If I remove the file, the setup-ds-admin.pl puts [no] in the above question. What should we do?> Do you want to register this software with an existing > configuration directory server? [yes]:
Attachment:
smime.p7s
Description: S/MIME Cryptographic Signature
-- Fedora-directory-devel mailing list Fedora-directory-devel@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/fedora-directory-devel