MOON
Server: Apache/2.2.31 (Unix) mod_ssl/2.2.31 OpenSSL/0.9.8e-fips-rhel5 mod_bwlimited/1.4
System: Linux csr818.wilogic.com 2.6.18-419.el5xen #1 SMP Fri Feb 24 22:50:37 UTC 2017 x86_64
User: digitals (531)
PHP: 5.4.45
Disabled: NONE
Upload Files
File: //var/usr/webmin-1.941/ldap-client/fixpam.cgi
#!/usr/bin/perl
# Link PAM LDAP file to NSS file

require './ldap-client-lib.pl';
&ReadParse();

if ($in{'ignore'}) {
	# Don't show message anymore
	$config{'nofixpam'} = 1;
	&save_module_config();
	}
else {
	# Fix up
	&unlink_logged($config{'pam_ldap'});
	&symlink_logged(&get_ldap_config_file(), $config{'pam_ldap'});
	&webmin_log("fixpam");
	}
&redirect("");