tac_plus-ng: mavis_tacplus-ng_ldap.pl - @LDAP_HOSTS array does not work if >1 elements are inserted
beranf opened this issue · 1 comments
Hi Marc,
I have noticed, a bug in the module mavis_tacplus-ng_ldap.pl at using array variable @LDAP_HOSTS.
As soon as more than 1 elements are inserted, than CONSTRUCTOR of LDAP object Net::LDAP->new(@LDAP_HOSTS, ...
cannot correctly use such variable content if new object is created, because it is necessary to pass the array as array reference.
Please, see documention of the module on https://metacpan.org/pod/Net::LDAP at the CONSTRUCTOR section "HOST may also be a reference to an array of hosts, ..."
Please, fix lines 219 and 309 in the file mavis_tacplus-ng_ldap.pl to pass array reference: Net::LDAP->new(\@LDAP_HOSTS,...
Thank you in advanced.
Regards,
Filip
Hi Filip,
thanks, this will be fixed within the next couple of minutes.
Cheers,
Marc