Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:60434 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33656 invoked from network); 3 May 2012 11:42:52 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 3 May 2012 11:42:52 -0000 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.110 as permitted sender) X-PHP-List-Original-Sender: etienne@lamaisondebarbie.ch X-Host-Fingerprint: 80.80.228.110 smtp21.clm.net4all.ch Linux 2.6 Received: from [80.80.228.110] ([80.80.228.110:33618] helo=smtp21.clm.net4all.ch) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 93/82-19863-73F62AF4 for ; Thu, 03 May 2012 07:42:49 -0400 Received: from [192.168.43.75] (49-233.197-178.cust.bluewin.ch [178.197.233.49]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp21.clm.net4all.ch (Postfix) with ESMTPSA id 3722E1EB6D4; Thu, 3 May 2012 13:42:34 +0200 (CEST) Message-ID: <4FA26F0A.5070007@lamaisondebarbie.ch> Date: Thu, 03 May 2012 13:42:02 +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: pajoye@php.net, cardoe@php.net, venaas@php.net Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [PATCH] ldap_parse_result return ASN.1-like array From: etienne@lamaisondebarbie.ch (Etienne Bagnoud) Hi I provide a patch (bug #61921) that modify ldap_parse_result and ldap_set_option to return and accept ASN.1-like array for server/client controls. This patch decodes ber value according to API defined in http://tools.ietf.org/html/draft-ietf-ldapext-ldap-c-api-05.txt It should not break existing code. Regards, Etienne.