Hi Patrick,
(please keep dev@directory.a.o as a recipient, other people might be
interested in this discussion)
Actually, a search filter can be converted into a String, per RFC 4515
[1], so yes, we could keep the String as a String instead of switching
to a Base64 encoded String.
I must
Ok so some more info:
The memberOf attribute is a bit special. It's first a AcriveDirectory
Attribute and its syntax is Distinguish Name Syntax. Which means it's
not purely a String, which is the reason it's base64 encoded.
Whe it comes to encode values, the following rule should apply:
Hi Patrick,
I have to check why the value gets base64 encoded. I thought the issue was
already properly addressed (see
https://issues.apache.org/jira/plugins/servlet/mobile#issue/DIRAPI-369)
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com
Le jeu. 8 févr. 2024 à 16:22, Patrick Peer a
Emmanuel,
can you give me a rough estimate on when a new version with the fixes will
be available? I need to upgrade due to CVEs for dependencies of older
versions of org.apache.directory.api:api-all, for the release of our own
software. Thus I need to know whether I can wait for your release, or
Hi Emmanuel!
> Side note: I'd be interested to know what is your usage of the LDAP API
> and why you picked it against other libs. Just for my personnal interest!
I inherited the code using the LDAP API, so my best guess is: When Apache
provides a library for the thing you want to do, you use it
Ok, I get a fixed version of the setFilter( String ) that produces this
output:
http://www.w3.org/2001/XMLSchema;
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance;>
Thanks Emmanuel!
Using a SchemaManager solved my immediate problem. However, now I need to
provide a custom Schema, since I need to query domain specific OIDs.
Before, the library was happy with arbitrary OIDs, and so was I :).
Addressing the easy API life,
Hi Patrick,
On 05/12/2023 15:43, Patrick Peer wrote:
Thanks Emmanuel!
Using a SchemaManager solved my immediate problem. However, now I need
to provide a custom Schema, since I need to query domain specific OIDs.
Before, the library was happy with arbitrary OIDs, and so was I :).
Hi again!
I have modified the LDAP API to be able to deal with the attributeType
properly when we have a SchemaManager, and to do so in a more user
friendly way.
Here is thge modified original test:
@Test
public void testMinimalEqualityRequest() throws Exception {
Hi!
long story short: we have added some more check that break your code...
More detailed answer:
* when you inject some filter in your request, we parse it and try as
much as possible to detect which AttributeType is to be associated with
each attribute.
* Those AttributeTypes contain
Hello!
I recently upgraded the version of org.apache.directory.api:api-all from
2.1.0 to 2.1.5 in the dependencies of our product, which resulted in some
test failures on my end. As it seems, values for equality filters are not
set in the request anymore. For your convenience, I cobbled together
11 matches
Mail list logo