# [PATCH] ldap_parse_result return ASN.1-like array

- Thread: https://externals.io/message/60434
- Original archive: https://news-web.php.net/php.internals/60434
- Started by Etienne Bagnoud on 2012-05-03T11:42:02+00:00
- Messages: 1
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #60434 — Etienne Bagnoud — 2012-05-03T11:42:02+00:00

URL: https://externals.io/message/60434#60434

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.
