[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#9167) Using OpenLDAP as Proxy



Full_Name: Abboud Makhoul
Version: 2.4.44
OS: oracle linux 7.6
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (109.233.20.178)


We are trying to use OpenLDAP as a proxy to OUD (Oracle Unified Directory).
We have added the following file in /etc/openldap/slapd.d/cn=config:
olcDatabase={1}ldap.ldif

The file contains the following:

dn: olcDatabase={1}ldap,cn=config
objectClass: olcDatabaseConfig
objectClass: olcLDAPConfig
olcDatabase: {1}ldap
olcSuffix: dc=example,dc=com
olcAccess: {0}to dn.base="" by * read
olcAccess: {1}to dn.base="cn=oudadmin" by * read
olcAccess: {2}to * by self write by users read by anonymous auth
olcRootDN: cn=oudadmin,dc=example,dc=com
olcRootPW: password
olcDbURI: "ldap://localhost:1389";
olcDbACLBind: bindmethod=simple binddn="cn=oudadmin" credentials="password"
starttls=no


After running the ldapadd command, we are getting the following error:
Invalid syntax (21)
        additional info: objectClass: value #1 invalid per syntax.

It seems that the objectClasses are not being recognized.