Oracle Linux 7: Error 'Ldap_add: Invalid Syntax (21)' and 'objectclass: value #1 invalid per syntax'

(Doc ID 2344523.1)

Last updated on JANUARY 04, 2018

Applies to:

Linux OS - Version Oracle Linux 7.0 and later
Information in this document applies to any platform.


On Oracle Linux 7, observed LDAP error 'ldap_add: Invalid syntax (21)' and 'objectclass: value #1 invalid per syntax'  while trying to add 'user' configuration from the manual after changing the userid. 

Error :
[root@localhost openldap]# ldapadd -Y EXTERNAL -H ldapi:/// -f test-ldap.ldif
SASL/EXTERNAL authentication started
SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth
adding new entry "cn=oracle1,ou=Groups,dc=ldap-linux-01,dc=com"
ldap_add: Invalid syntax (21)
additional info: objectclass: value #1 invalid per syntax


Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms