#!/usr/local/bin/perl # Show icons for various categories of options require './ldap-client-lib.pl'; &ui_print_header(undef, $module_info{'desc'}, "", "intro", 1, 1); # Make sure the config file exists if (!-r &get_ldap_config_file()) { &foreign_require("software"); $lnk = &software::missing_install_link("ldap", $text{'index_ldapmod'}, "../$module_name/", $module_info{'desc'}); &ui_print_endpage( &ui_config_link('index_econf', [ "".&get_ldap_config_file()."", undef ]). ($lnk ? "
\n".$lnk : "")); } # Check for separate config files for PAM and NSS if ($config{'pam_ldap'} && -r $config{'pam_ldap'} && !$config{'nofixpam'} && !&same_file($config{'pam_ldap'}, &get_ldap_config_file())) { print "
\n"; print &ui_form_end([ [ undef, $text{'index_fix'} ], [ "ignore", $text{'index_ignore'} ] ]); print "