Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60316 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 42345 invoked from network); 26 Apr 2012 09:15:26 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 26 Apr 2012 09:15:26 -0000 Received: from [127.0.0.1] ([127.0.0.1:20137]) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ECSTREAM id 96/E1-29789-E22199F4 for ; Thu, 26 Apr 2012 05:15:26 -0400 Authentication-Results: pb1.pair.com smtp.mail=etienne@lamaisondebarbie.ch; spf=pass; sender-id=pass Authentication-Results: pb1.pair.com header.from=etienne@lamaisondebarbie.ch; sender-id=pass Received-SPF: pass (pb1.pair.com: domain lamaisondebarbie.ch designates 80.80.228.43 as permitted sender) X-PHP-List-Original-Sender: etienne@lamaisondebarbie.ch X-Host-Fingerprint: 80.80.228.43 smtp22.clm.net4all.ch Linux 2.6 Received: from [80.80.228.43] ([80.80.228.43:46988] helo=smtp22.clm.net4all.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 90/D1-29789-ADE099F4 for ; Thu, 26 Apr 2012 05:01:15 -0400 Received: from [192.168.50.24] (unknown [153.109.35.2]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp22.clm.net4all.ch (Postfix) with ESMTPSA id 6BB2920388; Thu, 26 Apr 2012 11:01:07 +0200 (CEST) Message-ID: <4F990E8A.6030600@lamaisondebarbie.ch> Date: Thu, 26 Apr 2012 10:59:54 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:10.0.3) Gecko/20120329 Icedove/10.0.3 MIME-Version: 1.0 To: internals@lists.php.net CC: venaas@php.net, cardoe@php.net, pajoye@php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [PATCH] Use non-deprecated routines in php-ldap From: etienne@lamaisondebarbie.ch (Etienne Bagnoud) Hi, I sent two patch on php-ldap (bug #61853) to avoid use of deprecated routines of libldap (ldap_search->ldap_search_ext, ldap_add->ldap_add_ext, ...). I used ldap_get_option to fetch LDAPControl as I've seen code that workaround some php-ldap limitation with ldap_set_option, so it should not broke existing code. Example : http://moodle.org/mod/forum/discuss.php?d=28791 Regards, Etienne.