<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Patrick,<br>
<br>
And also, I strongly recommend reading<br>
<a class="moz-txt-link-freetext" href="http://zend.to/activedirectory.php">http://zend.to/activedirectory.php</a><br>
if you haven't done so already. The ldapsearch command will do the
same as the ZendTo code is doing, so once you've got that producing
sensible information, you should find things start to work.<br>
<br>
Cheers,<br>
Jules.<br>
<br>
<div class="moz-cite-prefix">On 08/02/2017 14:59, Pedrosi, Derek G.
wrote:<br>
</div>
<blockquote
cite="mid:BL2PR01MB1875B82E29BE08163BE5BCCFDE420@BL2PR01MB1875.prod.exchangelabs.com"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=windows-1252">
<meta name="Generator" content="Microsoft Word 14 (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;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
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="color:#1F497D">Here is mine,
it works wonderfully…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">//<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authenticator' => 'AD',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBaseDN1' =>
array('OU=Users-XXXXXXXXXXXXXXXXXX,dc=XXXXXXXXXXXXXXXXXX,dc=com'),<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPServers1' =>
array('dc1dc.XXXXXXXXXXXXXXXXXX.com','dc2dc.XXXXXXXXXXXXXXXXXX.com','dc3dc.XXXXXXXXXXXXXXXXXX.com'),<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPAccountSuffix1' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPUseSSL1' => false,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBindUser1' =>
'XXXXXXXXXXXXXXXXXX\svc-zendto',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBindPass1' =>
'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPOrganization1' => ‘My ORG',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBaseDN2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPServers2' => array(),<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPAccountSuffix2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPUseSSL2' => false,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBindUser2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBindPass2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPOrganization2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> // If you are
not using this 2nd set of settings for a 2nd AD forest,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> // do not
comment them out, but instead set them to be empty.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBaseDN2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> // Set<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> //
'authLDAPServers2' => array(),<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"> // if you
only have to search 1 AD forest/domain.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPServers2' => array(),<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPAccountSuffix2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPUseSSL2' => false,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBindUser2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPBindPass2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">
'authLDAPOrganization2' => '',<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF
1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span
style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">
<a class="moz-txt-link-abbreviated" href="mailto:zendto-bounces@zend.to">zendto-bounces@zend.to</a> [<a class="moz-txt-link-freetext" href="mailto:zendto-bounces@zend.to">mailto:zendto-bounces@zend.to</a>]
<b>On Behalf Of </b>Sheehan, Patrick<br>
<b>Sent:</b> Tuesday, February 07, 2017 2:02 PM<br>
<b>To:</b> <a class="moz-txt-link-abbreviated" href="mailto:zendto@zend.to">zendto@zend.to</a><br>
<b>Subject:</b> [ZendTo] AD auth<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hello all – I’m trying to use the AD auth
and I am able to bind to my DC but no matter what I put as the
BaseDN I cannot get it to work Authentication Error The
username or password is incorrect. Simple one domain
environment and the BaseDN I use is for the standard Users
container so it looks like this CN=Users,DC=mydomain,DC=com.
What am I missing? I have check the user account I’m testing
to verify password.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="background:white"><b><span
style="color:#222222">Patrick Sheehan</span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span
style="color:#222222">Senior IT Support Analyst / Network
Administrator</span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><i><span
style="color:#0070C0"><a moz-do-not-send="true"
href="http://psheehan@horizonhouse.com/"
target="_blank"><font color="red"><b>MailScanner has detected a possible fraud attempt from "psheehan@horizonhouse.com" claiming to be</b></font> <font color="red"><b>MailScanner has detected a possible fraud attempt from "psheehan@horizonhouse.com" claiming to be</b></font> <font color="red"><b>MailScanner has
detected a possible fraud attempt from
"psheehan@horizonhouse.com" claiming to be</b></font>
<font color="red"><b>MailScanner has detected a
possible fraud attempt from
"psheehan@horizonhouse.com" claiming to be</b></font>
<span style="color:red">MailScanner has detected a
possible fraud attempt from
"psheehan@horizonhouse.com" claiming to be</span> <span
style="color:#1155CC">psheehan@horizonhouse.com</span></a></span></i></b><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span
style="color:#1F497D">Horizon House Publications, Inc.</span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="color:#222222">685 Canton Street</span><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><b><span
style="color:#00B050">Norwood</span></b><span
style="color:#1F497D">, </span><b><span
style="color:#548DD4">MA</span><span style="color:#1F497D"> </span></b><span
style="color:#1F497D"> </span><b><span style="color:#222222">02062</span></b><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal" style="background:white"><span
style="color:#1F497D"><a moz-do-not-send="true"
href="tel:%28781%29%20-619-1937" target="_blank"><span
style="color:#1155CC">(781) -619-1937</span></a></span><span
style="font-size:12.0pt;font-family:"Times New
Roman","serif";color:#222222"><o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<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://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto">http://mailman.ecs.soton.ac.uk/mailman/listinfo/zendto</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">Jules
--
Julian Field MEng MBCS CITP CEng
'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
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
</pre>
</body>
</html>