Re: Client API Schema support

2015-01-26 Thread Radovan Semancik
subschemasubentry in root DSE. And they all return the schema in what seems to be the RFC format. There may be some issues, of course. But it looks like that the support for these servers should not be difficult to implement. -- Radovan Semancik

Client API Schema support

2015-01-22 Thread Radovan Semancik
it ... is there anything that I should read to be able to contribute? Or some recommendations? -- Radovan Semancik Software Architect evolveum.com

isHumanReadable in LdapSyntax

2015-03-04 Thread Radovan Semancik
as an obvious bug. But when I've changed it to return true then the SchemaObjectRendererTest fails ... in a quite strange way (NPE). I do not feel to be very strong here and I'm not really sure what I'm doing. Could anyone please have a look and help me out? Thanks. -- Radovan Semancik Software

Re: isHumanReadable in LdapSyntax

2015-03-05 Thread Radovan Semancik
that there is a nicer way to do that. I mean the encoding of this part of VLV request control: target CHOICE { ... -- Radovan Semancik Software Architect

OpenLDAP schema

2015-03-19 Thread Radovan Semancik
be muted when a quirks mode is on? Or is that too much and we need something like superquirks mode? ;-) The studio obviously works with OpenLDAP. Does anybody know how does the studio manages this? -- Radovan Semancik Software Architect evolveum.com

Re: OpenLDAP schema

2015-03-23 Thread Radovan Semancik
On 03/20/2015 04:07 PM, Radovan Semancik wrote: https://github.com/Evolveum/directory-shared/commit/b941ff690a41cd03b31679759dcf2fb367b1cb83 I had a closer look at this. Tests are failing after my modification. The reason seems to be this: (Registries:1344) public ListThrowable add

Schema error handling

2015-08-18 Thread Radovan Semancik
1.3.6.1.4.1.1466.115.121.1.40{64512} X-NDS_NAME 'RADIUS:Active Con nections' X-NDS_NOT_SCHED_SYNC_IMMEDIATE '1' ) I could not believe my eyes when I've seen that. I still hope that this is really some kind of my error. But I have confirmed it in two independent instances of eDirectory 8.8. -- Radovan

Re: Binary values and humanRedable flag

2015-08-10 Thread Radovan Semancik
On 08/10/2015 03:10 PM, Emmanuel Lécharny wrote: Le 10/08/15 13:33, Radovan Semancik a écrit : On 08/10/2015 12:42 PM, Emmanuel Lécharny wrote: There is no flag that says an Attribute is H-R or not. The information is provided in RFC 22524.3.2 https://tools.ietf.org/html/rfc2252#section-4.3.2

Re: Binary values and humanRedable flag

2015-08-10 Thread Radovan Semancik
is using StringValue then you will not need to change anything. Interface will remain the same and behavior compatible (if you do not think about comaptible bugs of course). Life is complicated... Maybe not that much :-) -- Radovan Semancik Software Architect evolveum.com

Binary values and humanRedable flag

2015-08-10 Thread Radovan Semancik
cannot report back to the higher layers anything better than failed to add foo to bar. But the user will not know what was the reason. -- Radovan Semancik Software Architect evolveum.com

Re: Binary values and humanRedable flag

2015-08-10 Thread Radovan Semancik
with the BinaryValue, StringValue and H/R flags. Simplification will be a great help for new API users. -- Radovan Semancik Software Architect evolveum.com

Relaxed/quirks mode and OIDs

2015-08-28 Thread Radovan Semancik
of relaxed mode to the registries (OidRegistry class). Set this up when the registries are created. Skip the Oid.isOid() check when in relaxed mode. I can quickly implement any of these options. But as usual, I need a blessing :-) What do you think? -- Radovan Semancik Software Architect

Re: Relaxed/quirks mode and OIDs

2015-08-28 Thread Radovan Semancik
and the studio. So I've figured it is better to stay on the safe side and discuss that before implementing it. -- Radovan Semancik Software Architect evolveum.com

Re: Value classes refactoring

2016-03-24 Thread Radovan Semancik
client code compatibility. -- Radovan Semancik Software Architect evolveum.com

Re: Value classes refactoring

2016-03-24 Thread Radovan Semancik
fashion? E.g. prepare the string only if someone asks for it and then store the prepared value for the entire Value lifetime. If Value is immutable then this approach should be safe. -- Radovan Semancik Software Architect evolveum.com On 03/24/2016 12:44 AM, Emmanuel Lécharny wrote: Hi guys

Re: Dn/Rdn/Ava refactoring : results

2016-05-09 Thread Radovan Semancik
Hi, Congrats. This looks like a great improvement. But ... it would be probably good to release API 1.0.0 before you merge in the branch. Any plans for that? -- Radovan Semancik Software Architect evolveum.com On 05/09/2016 12:38 PM, Emmanuel Lécharny wrote: Hi ! that's it, I'm done

Error handling: cursor time out

2016-05-09 Thread Radovan Semancik
this. Is InvalidConnectionException the same situation as timeout? Wouldn't we want a new TimeOutException for this (as subclass of LdapException)? Or is there any other (e.g. Mina-based) mechanism for this? -- Radovan Semancik Software Architect evolveum.com

Re: Dn/Rdn/Ava refactoring : results

2016-05-09 Thread Radovan Semancik
; has some date :-) At least some estimate. -- Radovan Semancik Software Architect evolveum.com

Re: Dn/Rdn/Ava refactoring : results

2016-05-10 Thread Radovan Semancik
handling would not be that easy to do. I see that as something that is definitely after 1.0.0. SASL external would be nice, but if there is nobody to work on that in next couple of weeks (not me) then I see no point holding back 1.0.0. just for that. -- Radovan Semancik Software Architect evolveum.com

Re: LDAP API 1.0 status

2017-01-24 Thread Radovan Semancik
Hi, This looks like a nice development. Thanks. I'll test it with my multi-LDAP testbed. But it will take a week or two until I get to that. -- Radovan Semancik Software Architect evolveum.com On 01/23/2017 10:23 AM, Emmanuel Lécharny wrote: Hi guys, a quick update on what's going

caseIgnoreIA5Match and normalizers

2016-10-20 Thread Radovan Semancik
=COM and dc=example,dc=com are considered to be different. -- Radovan Semancik Software Architect evolveum.com

Re: LDAPConnection fixes

2016-10-16 Thread Radovan Semancik
ther thing that. But that can wait. Let's have the 1.0 release out so we can start fixing things properly. -- Radovan Semancik Software Architect evolveum.com

Re: Ldap API Custom Controls

2017-09-11 Thread Radovan Semancik
are wrong. -- Radovan Semancik Software Architect evolveum.com On 09/08/2017 04:11 PM, CRAIG BENNER wrote: Thanks Shawn, I was going to ask that. But I got wireshark working. Below is the packet I'm assuming we want to see. In concept it looks correct, but i'm not sure what the controlValue

Re: Ldap API Custom Controls

2017-09-04 Thread Radovan Semancik
(org.apache.directory.api.ldap.extras.controls.ad.AdDirSync). It is enough to have some basic idea how LDAP protocol works and how the API works. Most of the work is mostly copy There are 3-4 classes to create. It is not difficult to figure out. -- Radovan Semancik Software Architect evolveum.com On 09/03/2017 08:57 PM

Re: Ldap API Custom Controls

2017-09-04 Thread Radovan Semancik
to be very rare. If you start with existing control that is somehow similar it is not difficult to implement a new control. -- Radovan Semancik Software Architect evolveum.com

Re: Fast openldap schema parser : completed

2018-06-22 Thread Radovan Semancik
ll test those later. -- Radovan Semancik Software Architect evolveum.com On 05/16/2018 10:25 AM, Emmanuel Lécharny wrote: Hi ! I finally committed the new parser. I did my best to have the same API, so ou can use it as if it were the previous version, except that it does not use AntLR anymore. T

Re: Qustion regarding schema quirk mode

2018-04-23 Thread Radovan Semancik
PI version. And the I can run the tests with my private directory server ZOO. -- Radovan Semancik Software Architect evolveum.com On 04/15/2018 11:03 PM, Emmanuel Lécharny wrote: Hi guys, I'm trying to speedup the schema parsing (it's currently quite slow, due to the 3 embedded Antlr parsers we