Looks like the trailing " (quotes) on the dn in your ldif file.
why if i want to add user to base i have error: ldap_add: Invalid DN
syntax (34) , i can't find where can be problem :/ , somebody know which mistake i do ?
... // tester.ldif // dn: cn=test_5,ou=stud,dc=aaa,dc=ws,dc=com" // probably, here is some
set incorrenct but for me looks good :P
...
[root@HP openldap]# ldapadd -x -D "dc=aaa,dc=ws,dc=com" -w test -f
tester.ldif
adding new entry "cn=test_5,ou=stud,dc=aaa,dc=ws,dc=com"" ldap_add: Invalid DN syntax (34) additional info: invalid DN