MINI SHELL

Server : Apache/2.2.2 (Fedora)
System : Linux App1.pathumtani.go.th 2.6.20-1.2320.fc5smp #1 SMP Tue Jun 12 19:40:16 EDT 2007 i686
User : apache ( 48)
PHP Version : 5.2.9
Disable Function : NONE
Directory :  /usr/libexec/webmin/ldap-client/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/libexec/webmin/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($config{'auth_ldap'}, $config{'pam_ldap'});
	&webmin_log("fixpam");
	}
&redirect("");



Anon7 - 2021