diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2007-07-27 01:46:10 +0000 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2007-07-27 01:46:10 +0000 |
commit | 4fe857b24306d1cebc1096b68c9ff46dfda5cbe4 (patch) | |
tree | 79bd8f07678862f4b768fef62a3cc78ef544bcfc | |
parent | 63a7a221e010b31bb107abb81ebc968b4ee18bbb (diff) | |
download | ds-4fe857b24306d1cebc1096b68c9ff46dfda5cbe4.tar.gz ds-4fe857b24306d1cebc1096b68c9ff46dfda5cbe4.tar.xz ds-4fe857b24306d1cebc1096b68c9ff46dfda5cbe4.zip |
Resolves: #249739
Summary: Implement a script registering DS to the Configuration DS (comment#5)
-rw-r--r-- | ldap/admin/src/scripts/DialogManager.pm | 5 | ||||
-rw-r--r-- | ldap/admin/src/scripts/SetupDialogs.pm.in | 4 | ||||
-rw-r--r-- | ldap/admin/src/scripts/setup-ds.res.in | 2 |
3 files changed, 10 insertions, 1 deletions
diff --git a/ldap/admin/src/scripts/DialogManager.pm b/ldap/admin/src/scripts/DialogManager.pm index 27040ed0..ff596b73 100644 --- a/ldap/admin/src/scripts/DialogManager.pm +++ b/ldap/admin/src/scripts/DialogManager.pm @@ -89,6 +89,11 @@ sub addDialog { } } +sub resetDialog { + my $self = shift; + @{$self->{dialogs}} = (); +} + # see if the user answered with the special BACK answer sub isBack { my $self = shift; diff --git a/ldap/admin/src/scripts/SetupDialogs.pm.in b/ldap/admin/src/scripts/SetupDialogs.pm.in index ec450c3d..589eaed4 100644 --- a/ldap/admin/src/scripts/SetupDialogs.pm.in +++ b/ldap/admin/src/scripts/SetupDialogs.pm.in @@ -253,4 +253,8 @@ sub getDialogs { return ($welcome, $license, $setuptype, $hostdlg, $usergroup); } +sub getRegDialogs { + return ($usergroup); +} + 1; diff --git a/ldap/admin/src/scripts/setup-ds.res.in b/ldap/admin/src/scripts/setup-ds.res.in index 5d2cdd89..81176c9b 100644 --- a/ldap/admin/src/scripts/setup-ds.res.in +++ b/ldap/admin/src/scripts/setup-ds.res.in @@ -66,7 +66,7 @@ dialog_dsrootdn_text = Certain directory server operations require an administra dialog_dsrootdn_prompt = Directory Manager DN dialog_dsrootdn_error = The input '%s' is not a valid DN. Please choose another one.\n\n dialog_dsrootpw_prompt1 = Password -dialog_dsrootpw_prompt2 = Password (again) +dialog_dsrootpw_prompt2 = Password (confirm) dialog_dsrootpw_invalid = The password contains invalid characters. Please choose another one.\n\n dialog_dsrootpw_tooshort = The password must be at least %s characters long. Please choose another one.\n\n dialog_dsrootpw_nomatch = The passwords do not match. Please try again.\n\n |