From 747fd40397dd911a6de1fa04f4c7c07ffd955030 Mon Sep 17 00:00:00 2001 From: Antoine Ginies Date: Thu, 8 Feb 2007 08:30:16 +0000 Subject: fix #15214 (thx neoclust) --- ldap_wizard/Ldap.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldap_wizard') diff --git a/ldap_wizard/Ldap.pm b/ldap_wizard/Ldap.pm index 534fca0f..4de8fb27 100644 --- a/ldap_wizard/Ldap.pm +++ b/ldap_wizard/Ldap.pm @@ -62,7 +62,7 @@ my $o = { } }; -my $ldap_suffix=join(',dc=', split(/\./, chomp_(`hostname -f`))); +my $ldap_suffix=join(',dc=', split(/\./, 'dc=' . chomp_(`hostname -f`))); $ldap_suffix =~ s/[^,]*,//; my $conf_file = "/etc/sysconfig/ldapwiz"; my $LDAPCONF = "/etc/openldap/slapd.conf"; -- cgit v1.2.1