APL get password from ~mercie_d
This commit is contained in:
parent
b03703bf96
commit
03470f00be
1 changed files with 5 additions and 2 deletions
|
@ -21,8 +21,11 @@ my $bindsecret = "";
|
|||
|
||||
sub ldap_get_password
|
||||
{
|
||||
return Password::get_password "/home/2014/mercie_d/.secret_ldap";
|
||||
# return Password::get_password "/home/intradmin/.secret_ldap";
|
||||
if (`hostname` eq "apl") {
|
||||
return Password::get_password "/home/2014/mercie_d/.secret_ldap";
|
||||
} else {
|
||||
return Password::get_password "/home/intradmin/.secret_ldap";
|
||||
}
|
||||
}
|
||||
|
||||
our $secret_search = \&ldap_get_password;
|
||||
|
|
Reference in a new issue