diff options
author | Noriko Hosoi <nhosoi@redhat.com> | 2007-06-19 23:05:08 +0000 |
---|---|---|
committer | Noriko Hosoi <nhosoi@redhat.com> | 2007-06-19 23:05:08 +0000 |
commit | 0e18cd2f56c68e0eb78ff9191a4ea78f436eeca4 (patch) | |
tree | 34e33006dd67c32384ace3f1dfbe913050544878 | |
parent | 72da2df3bae21741217e3175e020cdc3b83ac172 (diff) | |
download | ds-0e18cd2f56c68e0eb78ff9191a4ea78f436eeca4.tar.gz ds-0e18cd2f56c68e0eb78ff9191a4ea78f436eeca4.tar.xz ds-0e18cd2f56c68e0eb78ff9191a4ea78f436eeca4.zip |
Resolves: #237356
Summary: Move DS Admin Code into Admin Server
Description: fixing the default suffix: dc=<host>, dc=<dc1>, dc=<dc2>, dc=<dc3> ===> dc=<dc1>, dc=<dc2>, dc=<dc3>
-rw-r--r-- | ldap/admin/src/scripts/DSDialogs.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap/admin/src/scripts/DSDialogs.pm b/ldap/admin/src/scripts/DSDialogs.pm index a14b7349..33e6c744 100644 --- a/ldap/admin/src/scripts/DSDialogs.pm +++ b/ldap/admin/src/scripts/DSDialogs.pm @@ -122,6 +122,7 @@ my $dssuffix = new Dialog ( if (!defined($suffix)) { $suffix = hostfqdn; } + $suffix =~ s/^[^\.]*\.//; # just the domain part # convert fqdn to dc= domain components $suffix = "dc=$suffix"; $suffix =~ s/\./, dc=/g; |