[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Controls answers, OID unicity
- To: openldap-technical@openldap.org
- Subject: Controls answers, OID unicity
- From: Côme Chilliet <come@opensides.be>
- Date: Tue, 12 Sep 2017 10:58:09 +0200
- Organization: OpenSides
- User-agent: KMail/5.2.3 (Linux/4.9.0-3-amd64; KDE/5.28.0; x86_64; ; )
Hello,
As some may know I’m working toward supporting controls in php-ldap.
I’m facing two questions regarding controls to help me build the API:
- Is it possible to have several controls with the same OID in a request or response? (if not it would allow me to parse the answer to a control hash with oid as keys)
-> I tried to put twice the same control with «LDAP_CONTROL_PRE_READ» and got the error "preread control: specified multiple times", but I do not know if this is specific to preread or if it’s a rule.
- Is the critical field of controls used in responses? It seems openldap server let it to false always (or I’m failing to parse it).
I could not find information about these subjects in RFC 2251, if there is an other RFC on this subject bringing more information do not hesitate to point me to it :-)
Côme