summaryrefslogtreecommitdiffstats
path: root/ldap_wizard
diff options
context:
space:
mode:
authorAntoine Ginies <aginies@mandriva.com>2006-06-21 09:17:32 +0000
committerAntoine Ginies <aginies@mandriva.com>2006-06-21 09:17:32 +0000
commit037ad6f483e9eaae5c9bbf89c373c21991ed8258 (patch)
treebffb66baf862dc6106817f293626d30abd3d14f8 /ldap_wizard
parent4a6671b8ab500aa7742cb468ea2ab29d6451e3fa (diff)
downloaddrakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.tar
drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.tar.gz
drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.tar.bz2
drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.tar.xz
drakwizard-037ad6f483e9eaae5c9bbf89c373c21991ed8258.zip
fix defaultimage
Diffstat (limited to 'ldap_wizard')
-rw-r--r--ldap_wizard/Ldap.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/ldap_wizard/Ldap.pm b/ldap_wizard/Ldap.pm
index 5f54f5b6..fca7a4ad 100644
--- a/ldap_wizard/Ldap.pm
+++ b/ldap_wizard/Ldap.pm
@@ -56,12 +56,12 @@ my $o = {
prenom => '',
},
needed_rpm => [ 'openldap-servers', 'openldap-clients', 'nss_ldap' ],
- defaultimage => "$ENV{__WIZ_HOME__}ldap_wizard/images/ldap.png",
+ defaultimage => "/usr/share/mcc/themes/default/ldap-mdk.png",
init => sub {
test_host_domain($wiz_host_name, $DOMAINNAME);
}
};
-$::Wizard_pix_up = "/usr/share/mcc/themes/default/ldap-mdk.png";
+
my $ldap_suffix=join(',dc=', split(/\./, chomp_(`hostname -f`)));
$ldap_suffix =~ s/[^,]*,//;
my $conf_file = "/etc/sysconfig/ldapwiz";