diff options
Diffstat (limited to 'ldap_wizard/Ldap.pm')
-rw-r--r-- | ldap_wizard/Ldap.pm | 4 |
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"; |