[Fedora-directory-devel] Please review: [Bug 247215] Reimplement ds_remove without setuputil code

Noriko Hosoi nhosoi at redhat.com
Tue Jul 10 18:44:39 UTC 2007


Summary: Reimplement ds_remove without setuputil code

https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=247215

With these changes, we really don't need to "install" setuputil, any more!
Thanks,
--noriko

------- Additional Comments From nhosoi at redhat.com  2007-07-10 14:29 EST -------
Created an attachment (id=158876)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=158876&action=view)
cvs diff (ldapserver)

Files:
 admin/src/create_instance.c
 servers/slapd/libglobs.c
 servers/slapd/slap.h

Description: adding nsslapd-instancedir to dse.ldif.  Note that no setter nor
getter function is implemented.  The instance dir info is added to dse.ldif
when the server instance is generated and never meant to be touched.  It's
needed for ds_remove to find out the instance directory.

------- Additional Comments From nhosoi at redhat.com  2007-07-10 14:35 EST -------
Created an attachment (id=158879)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=158879&action=view)
cvs diff (adminserver)

Modified Files:
 Makefile.am
 admserv/newinst/src/AdminUtil.pm.in
 admserv/newinst/src/adminserver.map.in
 admserv/newinst/src/configdsroot.map.in
 admserv/newinst/src/dirserver.map.in
 admserv/newinst/src/register_param.map.in
 admserv/schema/ldif/10rm_dsdata.ldif.tmpl

New Files:
 admserv/cgi-src40/ds_remove.in
 admserv/cgi-src40/ds_remove.res

Description: adding Perl version of ds_remove
The script runs as CGI receiving the input "InstanceName" from, e.g., Console.
It gathers the server info using the Resource module and config files -- both
Admin and Directory Servers'.
Then, stops the server, clean up the instance's info from the Configuration
Directory Server, and remove the physical directories and files.



-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3237 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://listman.redhat.com/archives/fedora-directory-devel/attachments/20070710/631a25a6/attachment.bin>


More information about the Fedora-directory-devel mailing list