adding new entry "dc=<MYDOMAIN>
ldap_add: Invalid syntax (21)
additional info: objectclass: value #0 invalid per syntax
The root cause is that the sample LDIF file that accompanies the OpenLdap install has an extra space at the end of the objectclass syntax. Note the space after dc=
