[ZendTo] Re: Duplicated insert
Jules
Jules at ZendTo.com
Thu Aug 12 11:43:23 BST 2010
On 12/08/2010 11:19, Sergio Rabellino wrote:
>
>
> config/preferences.php
> add two prefs as follow
> 'authLDAPDn' => 'o=MyOrg,uid=MyUser',
> 'authLDAPPass' => 'MyPASStoLDAP',
>
> lib/NSSLDAPAuthenticator.php
> add below line 50
> > protected $_ldapDn = NULL;
> > protected $_ldapPass = NULL;
> add below line 73
> > $this->_ldapDn = $prefs['authLDAPDn'];
> > $this->_ldapPass = $prefs['authLDAPPass'];
>
> change line 147 to if ( $ldapBind =
> @ldap_bind($ldapConn,$this->_ldapDn,$this->_ldapPass) ) {
> change line 230 to if ( $ldapBind =
> @ldap_bind($ldapConn,$this->_ldapDn,$this->_ldapPass) ) {
Aha, don't worry about previous message, I had the line numbers slightly
out from yours. :-)
Jules
--
Julian Field MEng CITP CEng
www.ZendTo.com
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/zendto/attachments/20100812/8c81d785/attachment-0001.html
More information about the ZendTo
mailing list