Hi!

On 19/06/2023 19:21, Wellington Ferraz Adami wrote:
Hello experts,

I'm trying to import a LDIF that contains a request control attribute using
Apache Directory Studio but I'm getting a null error. There's no more
information than the null error. The LDAP Server I'm running is NOT
ApacheDS.
The same LDIF works fine when importing using the ldapmodify command line.

Does anyone know why I'm getting this error? Does Apache Directory Studio
not support request control attributes?

Following the sample LDIF:
dn: uid=sample,ou=SUBSCRIBER,o=DEFAULT,dc=C-NTDB
control: 1.3.6.1.4.1.30221.2.5.44
changetype: add
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
uid: sample
givenName: sample
cn: sample
sn: sample

Error log:
version: 1

#!RESULT ERROR
#!CONNECTION ldap://X.X.X.X:636
#!DATE 2023-06-19T12:01:00.790
#!ERROR null
dn: uid=sample,ou=SUBSCRIBER,o=DEFAULT,dc=C-NTDB
control: 1.3.6.1.4.1.30221.2.5.44
changetype: add
objectClass: inetOrgPerson
objectClass: organizationalPerson
objectClass: person
objectClass: top
uid: sample
givenName: sample
cn: sample
sn: sample

The name-entryuuid control is currently not supported. It probably should...

I see two possible actions here:
- make the error explicit, because it sucks not to have any information
- implement this control in the Apache LDAP API so that you don't get this error anymore

It will take a bit of time to get this fixed (although the LDAP API would be easy to fix), as we may have to release Studio.

Thanks for the report!




Thanks.
Wellington Adami


--
*Emmanuel Lécharny - CTO* 205 Promenade des Anglais – 06200 NICE
T. +33 (0)4 89 97 36 50
P. +33 (0)6 08 33 32 61
[email protected] https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to