diff options
author | Antoine Ginies <aginies@mandriva.com> | 2007-02-08 08:30:16 +0000 |
---|---|---|
committer | Antoine Ginies <aginies@mandriva.com> | 2007-02-08 08:30:16 +0000 |
commit | 747fd40397dd911a6de1fa04f4c7c07ffd955030 (patch) | |
tree | b525cf53d2f0be6efd2d8b71732a165d3707bb82 | |
parent | 418e266269f0ce7c5d759e1b2b3e33b120e832f4 (diff) | |
download | drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.tar drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.tar.gz drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.tar.bz2 drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.tar.xz drakwizard-747fd40397dd911a6de1fa04f4c7c07ffd955030.zip |
fix #15214 (thx neoclust)
-rw-r--r-- | ldap_wizard/Ldap.pm | 2 |
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"; |