[Fedora-directory-devel] Please review: [Bug 249739] Implement a script registering DS to the Configuration DS

Noriko Hosoi nhosoi at redhat.com
Thu Jul 26 20:17:28 UTC 2007


Summary: Implement a script registering DS to the Configuration DS

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

When one or more Directory Servers which are not registered to the Configuration
DS or there is no Configuration DS / AS set up, this script assigns a
Configuration DS, registers the existing servers to the Configuration DS, then
creates an AS instance if necessary.

------- Additional Comments From nhosoi at redhat.com  2007-07-26 14:59 EST -------
Created an attachment (id=160062)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160062&action=view)
New (register-ds-admin.pl.in)

File: adminserver/admserv/newinst/src/register-ds-admin.pl.in

Description: main script to do the registration tasks.	It works interactively
using Resource / Dialog.

------- Additional Comments From nhosoi at redhat.com  2007-07-26 15:01 EST -------
Created an attachment (id=160063)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160063&action=view)
New (register-ds-admin.res.in)

File: adminserver/admserv/newinst/src/register-ds-admin.res.in

Description: resource file for register-ds-admin.pl

------- Additional Comments From nhosoi at redhat.com  2007-07-26 15:07 EST -------
Created an attachment (id=160064)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160064&action=view)
New (RegDSDialogs.pm)

File: adminserver/admserv/newinst/src/RegDSDialogs.pm

Description: register-ds-admin specific dialog

------- Additional Comments From nhosoi at redhat.com  2007-07-26 15:41 EST -------
Created an attachment (id=160066)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160066&action=view)
cvs diffs (adminserver)

Files:
  Makefile.am
  admserv/newinst/src/AdminServer.pm.in
  admserv/newinst/src/AdminUtil.pm.in
  admserv/newinst/src/ConfigDSDialogs.pm
  admserv/newinst/src/setup-ds-admin.res.in

Description:
Makefile.am -- added new files: register-ds-admin.pl, register-ds-admin.res,
RegDSDialogs.pm
AdminServer.pm.in -- introduced "reconfig" context key to
registerASWithConfigDS, which is interpreted as "fresh" in check_and_add_entry
AdminUtil.pm.in -- introduced isConfigDS subroutine
ConfigDSDialogs.pm -- introduced regconfigdsinfo dialog, which is similar to
configdsinfo except regconfigdsinfo used for gathering new Admin Info, thus it
prompts for admin password twice and it does not access the Config DS for the
data verification.
setup-ds-admin.res.in -- added the second prompt for the admin password

------- Additional Comments From nhosoi at redhat.com  2007-07-26 15:44 EST -------
Created an attachment (id=160067)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160067&action=view)
cvs diffs (ldapserver)

Files:
  ldapserver/ldap/admin/src/scripts/DialogManager.pm
  ldapserver/ldap/admin/src/scripts/SetupDialogs.pm.in

Description:
DialogManager.pm -- introduced resetDialog
SetupDialogs.pm.in -- introduced getRegDialogs just to return the usergroup
dialog

------- Additional Comments From nhosoi at redhat.com  2007-07-26 15:54 EST -------
Created an attachment (id=160068)
 --> (https://bugzilla.redhat.com/bugzilla/attachment.cgi?id=160068&action=view)
use cases

The attchement contains the following cases:
1. Register one unregistered DS
2. Register multiple unregistered DSes
3. Register one unregistered DS to the existing Configuration DS
4. Register multiple unregistered DS to the existing Configuration DS
5. Switch the Configuration Server from <serverID> to <serverID2>

-------------- 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://lists.fedoraproject.org/pipermail/389-devel/attachments/20070726/c4b8fd43/attachment.bin 


More information about the 389-devel mailing list