[ZendTo] Zend.To Auth issue
Jules
Jules at Zend.To
Fri Dec 27 16:52:41 GMT 2019
Ignore my last comment.
The removal of the @... and ...\ domain parts of the supplied username
are now only done when the username atttribute is still sAMAccountName.
What have you changed the value of 'authLDAPUsernameAttribute1' in
preferences.php to?
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).
Cheers,
Jules.
On 12/09/2019 2:12 pm, Nigel Kendrick via ZendTo wrote:
>
> Thanks Dominic. That seems to work.
>
> FYI Jules – any kickback or comments?
>
> Thanks both.
>
> *Nigel Kendrick*
>
> *Technical Delivery Manager*
>
> <http://www.kineo.com/?utm_source=kineo-staff&utm_campaign=kineo-staff-signature&utm_medium=email>
>
> *Office:*+44 (0) 1273 764 070 x1078
> *Email nigel.kendrick at kineo.com <mailto:nigel.kendrick at kineo.com>*
>
> www.kineo.com <http://www.kineo.com/>
> twitter.com/kineo <https://twitter.com/kineo>
>
> 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.
>
> *From:*Dominic C. DeFiore <dcdefiore at REISSENG.com>
> *Sent:* 12 September 2019 13:53
> *To:* Nigel Kendrick <Nigel.Kendrick at kineo.com>
> *Subject:* Zend.To Auth issue
>
> *This email originated from outside of our organisation.*
>
> ------------------------------------------------------------------------
>
> Nigel,
>
> I ran into the same problem as you. I found a fix for it.
>
> Zendto\lib\NSSADAuthenticator.php
>
> Add after line 457
>
> $uname = preg_replace('/@.*$/', '', $uname);
>
> $uname = preg_replace('/^.*\\\/', '', $uname);
>
> 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)
>
> Cheers
>
> Thanks,
>
> /Dominic
> /
> *Dominic DeFiore
> *
> REISS ENGINEERING, INC.*
> **PLANNING DESIGN CONSTRUCTION
> **1016 Spring Villas Pt.*
> *Winter Springs, FL 32708*
> *
> **Tel: 407.679.5358
> Fax: 407.679.5003
> dcdefiore at reisseng.com <mailto:dcdefiore at reisseng.com>*
>
> *http://www.reisseng.com <http://www.reisseng.com/>*
>
>
>
> ------------------------------------------------------------------------
> This email message has been delivered safely and archived online by
> Mimecast.
> For more information please visit http://www.mimecast.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> ZendTo mailing list
> ZendTo at zend.to
> http://jul.es/mailman/listinfo/zendto
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.
www.Zend.To
Twitter: @JulesFM
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://jul.es/pipermail/zendto/attachments/20191227/b52a826f/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image002.png
Type: image/png
Size: 7670 bytes
Desc: not available
URL: <http://jul.es/pipermail/zendto/attachments/20191227/b52a826f/attachment-0002.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image003.png
Type: image/png
Size: 30120 bytes
Desc: not available
URL: <http://jul.es/pipermail/zendto/attachments/20191227/b52a826f/attachment-0003.png>
More information about the ZendTo
mailing list