ldap_add: Constraint violation (19) additional info: dc: multiple values provided
Attribute 'dc' is defined as SINGLE-VALUE.
> [..]The user2.ldiff file looks like this: dn: dc=tr,dc=tc
dc: tr dc: tc
Simply removed the line dc: tc since only the attribute value for forming the RDN is needed in the entry.