Hi,
assuming your ldif has been properly attached, and is:

     dn: cn=John E Doe, o=University of Higher Learning, c=US
      cn: John E Doe
      cn: John Doe
      objectclass: person
      sn: Doe

you have starting spaces before 'cn:', etc, which is not allowed.

The ldif should be:

dn: cn=John E Doe, o=University of Higher Learning, c=US
cn: John E Doe
cn: John Doe
objectclass: person
sn: Doe


Note that you *may* have starting spaces on a line, but that means the previous line is not complete. Your ldif will then be read as:

dn: cn=John E Doe, o=University of Higher Learning, c=UScn: John E Doecn: John Doeobjectclass: personsn: Doe

which is not valid either.

Regarding the other error, you most certainly have a ldif like:

dn: cn=test, ou=example, dc=com
objectclass: person
cn: John E Doe
sn: Doe

and here the 'cn=test' at the beginning of your DN is not present in the attributes list (I set a 'cn: John E Doe' for the sake of clarity).

Hope it helps.


On 24/05/2023 08:43, Samarth Ramesh wrote:
Hi, can someone please help me figure out what is wrong with my ldif file
(pastebin link: https://pastebin.com/rwpgqqQH).

When I try to import it using the studio gui, it errors out, asking me to check 
the log file.

The log file is spammed by:
WARN [org.apache.directory.api.ldap.model.entry.Value] - MSG_13202_AT_IS_NULL ()

The other item of note was:
WARN [org.apache.directory.server.core.normalization.NormalizationInterceptor] 
- The Rdn 'cn=test' is not present in the entry.

TIA!

Samarth R
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@directory.apache.org
For additional commands, e-mail: users-h...@directory.apache.org


--
*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
emmanuel.lecha...@busit.com https://www.busit.com/

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@directory.apache.org
For additional commands, e-mail: users-h...@directory.apache.org

Reply via email to