summaryrefslogtreecommitdiffstats
path: root/ldap_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2007-02-08 08:30:16 +0000
committerAntoine Ginies <aginies@mandriva.com>2007-02-08 08:30:16 +0000
commit747fd40397dd911a6de1fa04f4c7c07ffd955030 (patch)
treeb525cf53d2f0be6efd2d8b71732a165d3707bb82 /ldap_wizard
parent418e266269f0ce7c5d759e1b2b3e33b120e832f4 (diff)
downloaddrakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.tar
drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.tar.gz
drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.tar.bz2
drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.tar.xz
drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.zip
fix #15214 (thx neoclust)
Diffstat (limited to 'ldap_wizard')
-rw-r--r--ldap_wizard/Ldap.pm2
1 files changed, 1 insertions, 1 deletions
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";