[Fedora-directory-commits] ldapserver/ldap/admin/src/scripts DSDialogs.pm, 1.1, 1.2

Noriko Hosoi (nhosoi) fedora-directory-commits at redhat.com
Tue Jun 19 23:05:11 UTC 2007


Author: nhosoi

Update of /cvs/dirsec/ldapserver/ldap/admin/src/scripts
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv20883

Modified Files:
	DSDialogs.pm 
Log Message:
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>



Index: DSDialogs.pm
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/admin/src/scripts/DSDialogs.pm,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- DSDialogs.pm	8 Jun 2007 01:09:16 -0000	1.1
+++ DSDialogs.pm	19 Jun 2007 23:05:08 -0000	1.2
@@ -122,6 +122,7 @@
             if (!defined($suffix)) {
                 $suffix = hostfqdn;
             }
+            $suffix =~ s/^[^\.]*\.//; # just the domain part
             # convert fqdn to dc= domain components
             $suffix = "dc=$suffix";
             $suffix =~ s/\./, dc=/g;




More information about the Fedora-directory-commits mailing list