<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
Bailey,<br>
<br>
Interesting one, slightly surprised that (a) it causes an error in
your case, and that (b) in that case, no one has seen it before.<br>
<br>
Edit /opt/zendto/lib/NSSADAuthenticator.php and change line 658<br>
from<br>
<tt> if ( @$value['count'] >= 1 ) {</tt><br>
to<br>
if ( is_array($value) && @$value['count']
>= 1 ) {<br>
<br>
<br>
<br>
<div class="moz-cite-prefix">On Fri 11/12/20 23:47, Bailey Coole via
ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!d2bdd3843cd0428682e30b43658d05caf90d6cf995d850de85d8fbabe88a369e710de8549eda021b21e87cc1a8f7fa6c!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal-compose;
font-family:"Times New Roman",serif;
color:black;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}</style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black">We're running 6.05-4
on CentOS 8.<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black">If an AD user
successfully authenticates, they get a 500-server error. <o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span
style="font-size:12.0pt;color:black">If an AD user inputs
an incorrect password, they are warned that "The username
or password was incorrect" (as expected).<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="color:black">If a local
(i.e., admin) user authenticates, everything 'works'
properly. </span><span
style="font-size:12.0pt;color:black"><o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I don't *think* this is an issue with the
ldap/AD config as ldapsearch with the same inputs returns
all the expected users and the same settings (different bind
account) are in use elsewhere in our infrastructure. <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Nothing showing in the apache logs, but
there is a Fatal error in the php log:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">[11-Dec-2020 17:45:36 Australia/Perth]
PHP Warning: Attempt to read property "value" on null in
/var/zendto/templates_c/9da848d4b67ceaa147b62c8524dedce691bc7ce2_0.file.header.tpl.cache.php
on line 424
<o:p></o:p></p>
<div>
<p class="MsoNormal">[11-Dec-2020 17:45:42 Australia/Perth]
PHP Fatal error: Uncaught TypeError: Cannot access offset
of type string on string in
/opt/zendto/lib/NSSADAuthenticator.php:658<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Stack trace:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">#0
/opt/zendto/lib/NSSADAuthenticator.php(485):
NSSADAuthenticator->Tryauthenticate()<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">#1
/opt/zendto/lib/NSSMultiAuthenticator.php(154):
NSSADAuthenticator->authenticate()<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">#2
/opt/zendto/lib/NSSDropbox.php(2332):
NSSMultiAuthenticator->authenticate()<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">#3 /opt/zendto/lib/NSSDropbox.php(620):
NSSDropbox->userFromAuthentication()<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">#4 /opt/zendto/www/index.php(35):
NSSDropbox->__construct()<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">#5 {main}<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> thrown in
/opt/zendto/lib/NSSADAuthenticator.php on line 658<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<p class="MsoNormal">Any ideas on what could be causing this
behaviour?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><o:p> </o:p></p>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ZendTo mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ZendTo@zend.to">ZendTo@zend.to</a>
<a class="moz-txt-link-freetext" href="http://jul.es/mailman/listinfo/zendto">http://jul.es/mailman/listinfo/zendto</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng CEng CITP MBCS MIEEE MACM
'Intelligence is quickness to apprehend as distinct from ability,
which is capacity to act wisely on the thing apprehended.'
- Alfred North Whitehead
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>