Re: cvs: pear /Auth package.xml /Auth/Container LDAP.php
| From: | Adam Ashley | Date: | Tue, 21 Feb 2006 06:03:32 +0000 |
| Subject: | Re: cvs: pear /Auth package.xml /Auth/Container LDAP.php | ||
| References: | 1 2 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-38433@lists.php.net to get a copy of this message | ||
On Tue, 2006-02-21 at 07:00 +0100, bertrand Gugger wrote:
> Hello,
> Adam AShley wrote:
> > aashley Tue Feb 21 02:01:51 2006 UTC
> >
> > Modified files:
> > /pear/Auth/Container LDAP.php
> > /pear/Auth package.xml
> > Log:
> > Fix for #6644. Add support for LDAP referals option to aid compatibility with microsoft
> > active directory
> >
> >
> > http://cvs.php.net/viewcvs.cgi/pear/Auth/Container/LDAP.php?r1=1.23&r2=1.24&diff_format=u
>
> > @@ -232,6 +236,12 @@
> > @ldap_set_option($this->conn_id, LDAP_OPT_PROTOCOL_VERSION,
> > $this->options['version']);
> > }
> >
> > + // switch LDAP referrals
> > + if (is_bool($this->options['referrals'])) {
> > + $this->_debug("Switching to LDAP referrals
> > {$this->options['referrals']}", __LINE__);
> > + @ldap_set_option($this->conn_id, LDAP_OPT_REFERRALS,
> > $this->options['referrals']);
> > + }
> > +
> Just a litle CS: if the line is too long, please fold it but respect the
> indentation.
> Regards
Yeah the entire package needs a serious review Re: CS atm I'm just
staying consistent with the current code in each file and once I have
all the pending patches in I'll go through and clean up the coding style
in one hit.
Adam Ashley
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc
Attachment: [application/pgp-signature] This is a digitally signed message part signature.asc