Re: ldap_get_values() called on binary data - does this return an error, or garbage data?
Jordan Brown <[email protected]> Wed, 3 Apr 2024 18:19:30 +0000
| Newsgroups | gmane.network.openldap.devel |
|---|---|
| Message-ID | <0101018ea5300271-86c9a4e3-df43-42c7-8d46-12664c089712-000000@us-west-2.amazonses.com> |
This is a multi-part message in MIME format.
--------------pTK804GPo6HUzasTPSW2cxcg
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
On 4/3/2024 10:22 AM, Howard Chu wrote:
> Jordan Brown wrote:
>> Is there even a straightforward way in the protocol to get type information? If the protocol won't tell you, a client library can't tell you.
> Any client can retrieve the schema definition of any schema element using an LDAP Search request.
I had thought that all of those schema definitions were
server-specific. But I see that RFC 4512 standardizes them. Thanks.
So that would seem to be the answer to the question: if you want to
know how to handle a particular data item, you need to query its schema.
--
Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris
--------------pTK804GPo6HUzasTPSW2cxcg
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<div class="moz-cite-prefix">On 4/3/2024 10:22 AM, Howard Chu wrote:<br>
</div>
<blockquote type="cite"
cite="mid:[email protected]">
<pre class="moz-quote-pre" wrap="">Jordan Brown wrote:
</pre>
<blockquote type="cite">
<pre class="moz-quote-pre" wrap="">Is there even a straightforward way in the protocol to get type information? If the protocol won't tell you, a client library can't tell you.
</pre>
</blockquote>
<pre class="moz-quote-pre" wrap="">Any client can retrieve the schema definition of any schema element using an LDAP Search request.</pre>
</blockquote>
<br>
I had thought that all of those schema definitions were
server-specific. But I see that RFC 4512 standardizes them.
Thanks.<br>
<br>
So that would seem to be the answer to the question: if you want to
know how to handle a particular data item, you need to query its
schema.<br>
<pre class="moz-signature" cols="72">--
Jordan Brown, Oracle ZFS Storage Appliance, Oracle Solaris</pre>
</body>
</html>
--------------pTK804GPo6HUzasTPSW2cxcg--