[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: Controls answers, OID unicity
- To: Côme Chilliet <come@opensides.be>, openldap-technical@openldap.org
- Subject: Re: Controls answers, OID unicity
- From: Howard Chu <hyc@symas.com>
- Date: Tue, 12 Sep 2017 10:33:41 +0100
- In-reply-to: <WM!6bf687104032a85a2c8014738757452f83d9e5701873e6d2e5845e84494196ec99cece93ca75f6637def3ed14520ef46!@mailstronghold-2.zmailcloud.com>
- References: <1850818.ukP3l1moMB@mcmic-probook> <WM!6bf687104032a85a2c8014738757452f83d9e5701873e6d2e5845e84494196ec99cece93ca75f6637def3ed14520ef46!@mailstronghold-2.zmailcloud.com>
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:56.0) Gecko/20100101 Firefox/56.0 SeaMonkey/2.53a1
Côme Chilliet wrote:
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.
Not possible, no.
- 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).
RFC4511 section 4.1.11 is quite explicit here - the critical field in
responses is always false.
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
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/