<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Ignore my last comment.<br>
<br>
The removal of the @... and ...\ domain parts of the supplied
username are now only done when the username atttribute is still
sAMAccountName.<br>
<br>
What have you changed the value of 'authLDAPUsernameAttribute1' in
preferences.php to?<br>
<br>
If that still says 'sAMAccountName' then the code you have added
below will get done anyway (around line 542 in
NSSADAuthenticator.php, look for sAMAccountName and you'll quickly
find it).<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 12/09/2019 2:12 pm, Nigel Kendrick
via ZendTo wrote:<br>
</div>
<blockquote type="cite"
cite="mid:WM!3c2dfaa85f8e42d45f026359fd74f881a5a65bddb381af8ec0c83161b6033d1e7320779aabfc9da358163cddd808f46b!@mx.jul.es">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="Generator" content="Microsoft Word 15 (filtered
medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]-->
<style><!--
/* Font Definitions */
@font-face
{font-family:Helvetica;
panose-1:2 11 6 4 2 2 2 2 2 4;}
@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;}
@font-face
{font-family:"Arial Black";
panose-1:2 11 10 4 2 1 2 2 2 4;}
@font-face
{font-family:"Monotype Corsiva";
panose-1:3 1 1 1 1 2 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-margin-top-alt:auto;
margin-right:0cm;
mso-margin-bottom-alt:auto;
margin-left:0cm;
font-size:10.0pt;
font-family:"Calibri",sans-serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{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">
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks
Dominic. That seems to work.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:EN-US">FYI
Jules – any kickback or comments?
<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:EN-US">Thanks
both.<o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal" style="margin-bottom:7.5pt"><b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:black">Nigel
Kendrick</span></b><span
style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:7.5pt"><b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">Technical
Delivery Manager</span></b><span style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:7.5pt"><a
href="http://www.kineo.com/?utm_source=kineo-staff&utm_campaign=kineo-staff-signature&utm_medium=email"
title="Kineo: a City and Guilds Group business"
moz-do-not-send="true"><span
style="font-size:11.0pt;color:windowtext;text-decoration:none"><img
style="width:1.7083in;height:.6458in" id="_x0000_i1027"
src="cid:part1.A8E31F11.6128DE37@Zend.To" class=""
width="164" height="62" border="0"></span></a><span
style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:7.5pt"><b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#96C93E">Office:</span></b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">
+44 (0) 1273 764 070 x1078<br>
</span><b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#96C93E">Email
<a href="mailto:nigel.kendrick@kineo.com"
moz-do-not-send="true">nigel.kendrick@kineo.com</a><o:p></o:p></span></b></p>
<p class="MsoNormal" style="margin-bottom:7.5pt"><span
style="font-size:7.0pt;font-family:"Arial",sans-serif;color:#7F7F7F"><a
href="http://www.kineo.com/" moz-do-not-send="true"><span
style="color:#7F7F7F">www.kineo.com</span></a></span><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#7F7F7F"><br>
<a href="https://twitter.com/kineo" target="_blank"
moz-do-not-send="true"><span
style="font-size:7.0pt;color:#7F7F7F">twitter.com/kineo</span></a>
</span><span
style="font-size:7.0pt;font-family:"Arial",sans-serif;color:#7F7F7F"><o:p></o:p></span></p>
<p class="MsoNormal" style="margin-bottom:7.5pt"><span
style="font-size:7.0pt;font-family:"Arial",sans-serif;color:#7F7F7F">Registered
Office: Sovereign House, Church Street, Brighton BN1 1SS |
Kineo Limited is registered in England and Wales no.
07150983 | VAT Registration number: GB 788 6564 55.</span><span
style="font-size:11.0pt"><o:p></o:p></span></p>
<p class="MsoNormal"><span
style="font-size:11.0pt;mso-fareast-language:EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt"
lang="EN-US">From:</span></b><span
style="font-size:11.0pt" lang="EN-US"> Dominic C. DeFiore
<a class="moz-txt-link-rfc2396E" href="mailto:dcdefiore@REISSENG.com"><dcdefiore@REISSENG.com></a>
<br>
<b>Sent:</b> 12 September 2019 13:53<br>
<b>To:</b> Nigel Kendrick <a class="moz-txt-link-rfc2396E" href="mailto:Nigel.Kendrick@kineo.com"><Nigel.Kendrick@kineo.com></a><br>
<b>Subject:</b> Zend.To Auth issue<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal"><strong><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black">This
email originated from outside of our organisation.</span></strong><span
style="font-size:9.0pt;font-family:"Helvetica",sans-serif;color:black"><o:p></o:p></span></p>
<div class="MsoNormal" style="text-align:center"
align="center">
<hr width="100%" size="2" align="center">
</div>
</div>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Nigel,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">I
ran into the same problem as you. I found a fix for it.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Zendto\lib\NSSADAuthenticator.php<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Add
after line 457<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">
$uname = preg_replace('/@.*$/', '', $uname);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">
$uname = preg_replace('/^.*\\\/', '', $uname);<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Looks
like this was removed at some point recently and that’s what
broke the login with full email (because I suppose before it
stripped the email anyway)<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><img
style="width:8.0625in;height:4.6875in"
id="Picture_x0020_1"
src="cid:part6.E3C5694B.746CE2F4@Zend.To" class=""
width="774" height="450" border="0"><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Cheers<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><i><span
style="font-size:18.0pt;font-family:"Monotype
Corsiva";color:#C4A157" lang="EN-US">Dominic<br>
</span></i><span style="font-family:"Monotype
Corsiva";color:#C4A157" lang="EN-US"><br>
</span><b><span
style="font-size:12.0pt;font-family:"Times New
Roman",serif;color:#1F497D" lang="EN-US">Dominic
DeFiore<br>
</span></b><span style="font-family:"Times New
Roman",serif;color:#1F497D" lang="EN-US"><br>
</span><span style="font-size:11.0pt;font-family:"Arial
Black",sans-serif;color:#B18E3F" lang="EN-US">REISS
ENGINEERING, INC.</span><b><span
style="font-size:11.0pt;font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US"><br>
</span></b><b><span
style="font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US">PLANNING DESIGN CONSTRUCTION<br>
</span></b><b><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US">1016 Spring Villas Pt.</span></b><span
style="font-size:11.0pt;color:#1F497D" lang="EN-US"><br>
</span><b><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US">Winter Springs, FL 32708</span></b><span
style="font-size:11.0pt;color:#1F497D" lang="EN-US"><br>
</span><b><span
style="font-size:9.0pt;font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US"><br>
</span></b><b><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US">Tel: 407.679.5358
<br>
Fax: 407.679.5003<br>
<a href="mailto:dcdefiore@reisseng.com"
moz-do-not-send="true"><span style="color:blue">dcdefiore@reisseng.com</span></a><o:p></o:p></span></b></p>
<p class="MsoNormal"><b><span
style="font-size:8.0pt;font-family:"Arial",sans-serif;color:#1F497D"
lang="EN-US"><a href="http://www.reisseng.com/"
moz-do-not-send="true"><span style="color:blue">http://www.reisseng.com</span></a><o:p></o:p></span></b></p>
<p class="MsoNormal"><span style="font-size:11.0pt" lang="EN-US"><o:p> </o:p></span></p>
</div>
<br>
<br>
<span style="font-family:Arial; Font-size:10.0pt">
<hr>
This email message has been delivered safely and archived online
by Mimecast.<br>
For more information please visit <a
href="http://www.mimecast.com" target="_blank"
moz-do-not-send="true">http://www.mimecast.com</a>
<hr> </span> <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
The current UK shipping forecast:
Irish Sea: Southwest 4 or 5, becoming cyclonic 6 to gale 8, then north 4 to 6.
Slight or moderate, occasionally rough in south. Rain. Good, occasionally
poor.
<a class="moz-txt-link-abbreviated" href="http://www.Zend.To">www.Zend.To</a>
Twitter: @JulesFM
</pre>
</body>
</html>