summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVicent Guardiola <vguardiola@mandriva.com>2004-08-20 10:30:47 +0000
committerVicent Guardiola <vguardiola@mandriva.com>2004-08-20 10:30:47 +0000
commit99e52c96854cabba26ce015a3ad037e39cd6d0cd (patch)
tree229f24831776890bec418d19983d8a00888b7162
parentca7b6c8d2374f3ee16a0f9ea23bf722a7daa45d7 (diff)
downloaddrakwizard-99e52c96854cabba26ce015a3ad037e39cd6d0cd.tar
drakwizard-99e52c96854cabba26ce015a3ad037e39cd6d0cd.tar.gz
drakwizard-99e52c96854cabba26ce015a3ad037e39cd6d0cd.tar.bz2
drakwizard-99e52c96854cabba26ce015a3ad037e39cd6d0cd.tar.xz
drakwizard-99e52c96854cabba26ce015a3ad037e39cd6d0cd.zip
Take rootpass in conf_file
-rw-r--r--ldap_wizard/Ldap.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/ldap_wizard/Ldap.pm b/ldap_wizard/Ldap.pm
index c3871d6e..063ae872 100644
--- a/ldap_wizard/Ldap.pm
+++ b/ldap_wizard/Ldap.pm
@@ -69,6 +69,7 @@ if (-f $conf_file) {
$o->{var}{rootdn} = $conf{rootdn};
$o->{var}{srv} = $conf{srv};
$o->{var}{defou} = $conf{users};
+ $o->{var}{rootpass} = $conf{rootpass};
} else {
my $hostname = chomp_(`hostname`);
$o->{var}{srv} = $hostname;