<HTML><HEAD>
<META content="text/html; charset=utf-8" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.7600.16588"></HEAD>
<BODY style="MARGIN: 4px 4px 1px; FONT: 10pt Segoe UI" bgColor=#ffffff text=#000000>
<DIV>Yea...&nbsp; I'll keep you updated on how ti works.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Brad<BR><BR>&gt;&gt;&gt; On 8/3/2010 at 9:57 AM, in message &lt;4C582E73.7090101@ZendTo.com&gt;, Jules &lt;Jules@zendto.com&gt; wrote:<BR></DIV>
<TABLE style="MARGIN: 0px 0px 0px 15px; FONT-SIZE: 1em" border=0 bgColor=#f3f3f3>
<TBODY>
<TR>
<TD>
<DIV style="BORDER-LEFT: #050505 1px solid; PADDING-LEFT: 7px"><BR><BR>On 03/08/2010 15:48, Brad Beckenhauer wrote: 
<BLOCKQUOTE cite=mid:4C57E5E7020000680005B0BE@smtp.aafp.org type="cite">
<META name=GENERATOR content="MSHTML 8.00.7600.16588">
<DIV>Hi Jules,</DIV>
<DIV>&nbsp;</DIV>
<DIV>I noticed that there is a&nbsp;authenticator&nbsp;/lib/NSSLDAPAuthenticator.php&nbsp;but the preferences.php file does not have a corresponding section on implementing it.</DIV></BLOCKQUOTE>I've never had an LDAP server to test it against. If you fancy contributing the section, then that would be much appreciated!<BR>
<BLOCKQUOTE cite=mid:4C57E5E7020000680005B0BE@smtp.aafp.org type="cite">
<DIV>&nbsp;&nbsp; I have access to SLES servers that supports OPEN LDAP and thought I'd give it a whirl instead of the AD or IMAP authenticators.</DIV>
<DIV>&nbsp;</DIV>
<DIV>The NSSADAuthenticator.php has a section on howto implement it in the preferences.php file but the NSSLDAPAuthenticator.php does not have an example.</DIV></BLOCKQUOTE>It should be much the same as the AD one, as that uses LDAP anyway.<BR>
<BLOCKQUOTE cite=mid:4C57E5E7020000680005B0BE@smtp.aafp.org type="cite">
<DIV>&nbsp;</DIV>
<DIV>I'm going to "try" configuring the LDAP Auth in the preferences.php as I have SLES system I can authenticate against.</DIV>
<DIV>&nbsp;</DIV>
<DIV>I'm "guessing" that the preferences file needs something like the below to work:</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp; //<BR>&nbsp; // Settings for the LDAP authenticator.<BR>&nbsp; //<BR>&nbsp; //&nbsp; "authLDAPServers"&nbsp;&nbsp;&nbsp;&nbsp; Array of hostnames to try binding to<BR>&nbsp; //&nbsp; "authLDAPBaseDN"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Base distinguished name for search/bind<BR>&nbsp; //&nbsp; "authLDAPAdmins"&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Cheap way to grant admin privs to users; an<BR>&nbsp; //&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; array of uname's<BR>&nbsp; 'authenticator' =&gt; 'LDAP',<BR>&nbsp; 'authLDAPServers'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; array('192.168.1.1','192.168.1.2'),<BR>&nbsp; 'authLDAPBaseDN'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; 'ou=users,o=domain',</DIV>
<DIV>&nbsp; 'authLDAPUseSSL'&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =&gt; false,&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;&lt;&lt;&lt;&lt;&nbsp; option does not appear to be currently supported in v3.59</DIV></BLOCKQUOTE>That looks good. If you gunzip the attached file and drop it on the top of your /opt/zendto/lib/NSSLDAPAuthenticator.php file, then you should get the "authLDAPUseSSL" option you want.<BR>
<BLOCKQUOTE cite=mid:4C57E5E7020000680005B0BE@smtp.aafp.org type="cite">
<DIV>&nbsp;</DIV>
<DIV>Can the LDAP library be tweaked to allow the use of the authLDAPUseSSL option in the preferences file? (If my humble interpretation that it is not currently implemented is correct).</DIV></BLOCKQUOTE>Done, see above.<BR><BR>If it works, please let me know and I'll put it in the next release.<BR><PRE class=moz-signature cols="72">Jules

-- 
Julian Field MEng CITP CEng
<A class=moz-txt-link-abbreviated href="http://www.ZendTo.com">www.ZendTo.com</A>

Need help fixing or optimising your systems?
Contact me!
Need help getting you started solving new requirements from your boss?
Contact me!

PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
Follow me at twitter.com/JulesFM
</PRE></DIV></TD></TR></TBODY></TABLE></BODY></HTML>