<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Etienne,<br>
<br>
Please can you try this fix for me?<br>
<br>
Edit<br>
/opt/zendto/lib/NSSLDAPAuthenticator.php<br>
and change line 392.<br>
<br>
It should currently say this:<br>
parent::authenticate($uname,$password,$response);<br>
<br>
Please change it to this:<br>
parent::authenticate($uname,$password,$response,$errormsg);<br>
<br>
You should then just refresh your web browser. There should be no
need to restart any services on your ZendTo server.<br>
<br>
Please let me know if this fixes it or not, and I'll push out a
quick update.<br>
<br>
Thanks!<br>
Jules.<br>
<br>
<br>
<div class="moz-cite-prefix">On 31/08/2020 17:32, Etienne Vogt via
ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!17d1570d1ab8a244cb8b6b3de93d9d5c8648c1ac867b757622d5287c925c722ff1fded4e9d3826f18beb47067018ec40!@mx.jul.es">Hello,
<br>
<br>
I've just upgraded ZendTo to the last 6.05-2 and LDAP
authentication
<br>
no longer works. Our users get a blank page and we get the
following
<br>
PHP error message in /var/log/apache2/zendto_error.log (real login
<br>
and password replaced with fake ones) :
<br>
<br>
[Mon Aug 31 18:23:25.035288 2020] [php7:error] [pid 31732] [client
145.238.184.196:33360] PHP Fatal error: Uncaught
ArgumentCountError: Too few arguments to function
NSSAuthenticator::authenticate(), 3 passed in
/opt/zendto/lib/NSSLDAPAuthenticator.php on line 392 and exactly 4
expected in /opt/zendto/lib/NSSAuthenticator.php:165\nStack
trace:\n#0 /opt/zendto/lib/NSSLDAPAuthenticator.php(392):
NSSAuthenticator->authenticate('login', 'password', Array)\n#1
/opt/zendto/lib/NSSMultiAuthenticator.php(154):
NSSLDAPAuthenticator->authenticate('login', 'password', Array,
'')\n#2 /opt/zendto/lib/NSSDropbox.php(2332):
NSSMultiAuthenticator->authenticate('login', 'password', Array,
'')\n#3 /opt/zendto/lib/NSSDropbox.php(620):
NSSDropbox->userFromAuthentication()\n#4
/opt/zendto/www/index.php(35):
NSSDropbox->__construct(Array)\n#5 {main}\n thrown in
/opt/zendto/lib/NSSAuthenticator.php on line 165
<br>
<br>
We are running ZendTo on a Debian 10 LXC container.
<br>
<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'The past is supposed to be a place of reference, not a place of
residence! There is a reason why your car has a big windshield and
a small rearview mirror. You are supposed to keep your eyes on where
you are going, and just occasionally check out where you have been.'
- Willie Jolley
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>