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

Noriko Hosoi nhosoi at redhat.com
Fri Jul 6 01:24:10 UTC 2007


Summary: Reimplement ds_remove without setuputil code

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

This is the first step of ds_remove.  With this change, this command line cleans up the Configuration entries from the Configuration server.
register_server.pl -v -m <mappath>/dirserver.map -p <port> -w <passwd> -d <infdir> -i <dynamic_inffile> 10rm_dsdata.ldif.tmpl

 ------- Additional Comments From nhosoi at redhat.com  2007-07-05 21:14 EST -------
Created an attachment (id=158634)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=158634&action=view)
cvs diff ldapserver/ldap/admin/src/scripts/Util.pm.in

Description:
1) introduced delete entry operation.  It supports an entry which contains
"changetype: delete" as follows:
dn: cn=slapd-%dsid%, cn=%brand% Directory Server, cn=Server Group, cn=%fqdn%,
ou=%domain%, o=NetscapeRoot
changetype: delete
It deletes all the subordinate entries.
2) cleaned up check_and_add code a bit (it's not "and_add" any more, tho... ):

------- Additional Comments From nhosoi at redhat.com  2007-07-05 21:17 EST -------
Created an attachment (id=158635)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=158635&action=view)
New: tmpl file used for remove

File: adminserver/admserv/schema/ldif/10rm_dsdata.ldif.tmpl

Description: remove tmpl file to clean up the Configuration entries belonging
to the removed Directory Server instance.

Thanks,
--noriko


-------------- 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/20070705/30760279/attachment.bin>


More information about the Fedora-directory-devel mailing list