S
stegger
I am a perl newbie and should solve a script problem.
I have defined a directory in the smbldap_conf.pm file similar to the
following line:
$mk_ntpasswd = "/usr/local/sbin/mkntpwd";
Then in the smbldap-passwd.pl the line below generates an unexpected
output and the script behaves not like expected
Perl line which gerates the error:
my $ntpwd = `$mk_ntpasswd '$pass'`;
The error (or output)
sh: /usr/local/sbin/mkntpwd: is a directory
Thanks for any suggestions
I have defined a directory in the smbldap_conf.pm file similar to the
following line:
$mk_ntpasswd = "/usr/local/sbin/mkntpwd";
Then in the smbldap-passwd.pl the line below generates an unexpected
output and the script behaves not like expected
Perl line which gerates the error:
my $ntpwd = `$mk_ntpasswd '$pass'`;
The error (or output)
sh: /usr/local/sbin/mkntpwd: is a directory
Thanks for any suggestions