<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
<br>
On 12/08/2010 11:19, Sergio Rabellino wrote:
<blockquote cite="mid:4C63CACB.4060203@di.unito.it" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<br>
<br>
config/preferences.php<br>
add two prefs as follow<br>
'authLDAPDn' => 'o=MyOrg,uid=MyUser',<br>
'authLDAPPass' => 'MyPASStoLDAP',<br>
<br>
lib/NSSLDAPAuthenticator.php<br>
add below line 50<br>
> protected $_ldapDn = NULL;<br>
> protected $_ldapPass = NULL;<br>
add below line 73<br>
> $this->_ldapDn = $prefs['authLDAPDn'];<br>
> $this->_ldapPass = $prefs['authLDAPPass'];<br>
<br>
change line 147 to if ( $ldapBind =
@ldap_bind($ldapConn,$this->_ldapDn,$this->_ldapPass) ) {<br>
change line 230 to if ( $ldapBind =
@ldap_bind($ldapConn,$this->_ldapDn,$this->_ldapPass) ) {<br>
</blockquote>
Aha, don't worry about previous message, I had the line numbers
slightly out from yours. :-)<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>
</body>
</html>