Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:49009 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 78137 invoked from network); 7 Jul 2010 16:25:12 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 7 Jul 2010 16:25:12 -0000 Authentication-Results: pb1.pair.com header.from=grant.croker@ingres.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=Grant.Croker@ingres.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain ingres.com designates 69.18.216.39 as permitted sender) X-PHP-List-Original-Sender: Grant.Croker@ingres.com X-Host-Fingerprint: 69.18.216.39 mail.ingres.com Windows 2000 SP4, XP SP1 Received: from [69.18.216.39] ([69.18.216.39:27062] helo=mail.ingres.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 16/47-33240-66AA43C4 for ; Wed, 07 Jul 2010 12:25:11 -0400 Received: from [192.168.10.20] ([213.254.82.187]) by mail.ingres.com over TLS secured channel with Microsoft SMTPSVC(6.0.3790.4675); Wed, 7 Jul 2010 12:25:08 -0400 Message-ID: <4C34AA60.7070707@ingres.com> Date: Wed, 07 Jul 2010 18:25:04 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.4) Gecko/20100608 Thunderbird/3.1 MIME-Version: 1.0 To: internals@lists.php.net References: <1430e929de312057f8a7788560e7c92f.squirrel@www.l-i-e.com> In-Reply-To: <1430e929de312057f8a7788560e7c92f.squirrel@www.l-i-e.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 07 Jul 2010 16:25:08.0288 (UTC) FILETIME=[F6F63C00:01CB1DF0] Subject: Re: [PHP-DEV] LDAP bug From: grant.croker@ingres.com (Grant Croker) On 07/07/10 17:38, Richard Lynch wrote: > If anybody with LDAP extension experience could take a look at this, > I'd sure appreciate it: > > http://bugs.php.net/bug.php?id=52266 > > I'm working on getting an environment where I can compile from source > and reproduce and trace through C with a bunch of printf statements, > but I suspect that's going to be a long-term effort, given current > commitments... > Hi Richard, According to the contributed notes in http://www.php.net/manual/en/function.ldap-search.php, LDAP_OPT_REFERRALS should be set to 0 and not 2 as you have in your test case. When set to 0 I don't see the "Operations Error" message. I also have it set this way to enable search in AD for a rudimentary phonebook. regards grant -- Grant Croker, Ingres Corp Ingres PHP and Ruby maintainer http://planetingres.org The seat received him in a loose and distant kind of way, like an aunt who disapproves of the last fifteen years of your life and will therefore furnish you with a basic sherry, but refuses to catch your eye.