diff options
author | Rich Megginson <rmeggins@redhat.com> | 2007-11-21 20:27:38 +0000 |
---|---|---|
committer | Rich Megginson <rmeggins@redhat.com> | 2007-11-21 20:27:38 +0000 |
commit | 8045286272b953bc3c02b7f4b70c1a21c2dc7b8c (patch) | |
tree | 0d38329d9fe9da39762be0d88bd8d3ffdbb81582 /ldap/admin/src/scripts/DSDialogs.pm | |
parent | d2e30358c476ccc738fa29cac6d4170ad12e975c (diff) | |
download | ds-8045286272b953bc3c02b7f4b70c1a21c2dc7b8c.tar.gz ds-8045286272b953bc3c02b7f4b70c1a21c2dc7b8c.tar.xz ds-8045286272b953bc3c02b7f4b70c1a21c2dc7b8c.zip |
Resolves: bug 371771
Bug Description: '.' (dot) in the server ID
Reviewed by: nkinder (Thanks!)
Fix Description: Remove . and , from the characters allowed in the server ID. Also use the more descriptive error message.
Platforms tested: RHEL5 x86_64
Flag Day: no
Doc impact: no
QA impact: should be covered by regular nightly and manual testing
New Tests integrated into TET: none
Diffstat (limited to 'ldap/admin/src/scripts/DSDialogs.pm')
-rw-r--r-- | ldap/admin/src/scripts/DSDialogs.pm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap/admin/src/scripts/DSDialogs.pm b/ldap/admin/src/scripts/DSDialogs.pm index 0af12b14..22fe512a 100644 --- a/ldap/admin/src/scripts/DSDialogs.pm +++ b/ldap/admin/src/scripts/DSDialogs.pm @@ -99,9 +99,9 @@ my $dsserverid = new Dialog ( my $res = $DialogManager::SAME; my $path = $self->{manager}->{setup}->{configdir} . "/slapd-" . $ans; if (!isValidServerID($ans)) { - $self->{manager}->alert("dialog_dsserverid_error", $ans); + $self->{manager}->alert("error_invalid_serverid", $ans); } elsif (-d $path) { - $self->{manager}->alert("dialog_dsserverid_inuse", $ans); + $self->{manager}->alert("error_server_already_exists", $path); } else { $res = $DialogManager::NEXT; $self->{manager}->{inf}->{slapd}->{ServerIdentifier} = $ans; |