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

Question about Openldap+Oracle10g


I configured an OpenLDAP2.2.19+UnixODBC(OracleDriver)+Oracle10g on a solaris 
9 machine. But if loaded the default sql files (which have been stored in 
directory /servers/slapd/back-sql/rdbms_depend/oracle), SLAPD can not be started 
with the error below:
backsql_load_schema_map(): duplicate objectClass "document" in objectClass by ID map

* What's this error? 

If I hold only one objectclass definition, and delete other objectclass in 
testdb_metadata.sql file, SLAPD can be started without problem.
insert into ldap_oc_mappings (id,name,keytbl,keycol,create_proc,delete_proc,expect_return)
values (1,'person','persons','id','call create_person(?)','call delete_person(?)',0);

--delete these--
--insert into ldap_oc_mappings (id,name,keytbl,keycol,create_proc,delete_proc,expect_return)
--values (2,'document','documents','id','call create_document(?)','call delete_document(?)',0);

--insert into ldap_oc_mappings (id,name,keytbl,keycol,create_proc,delete_proc,expect_return)
-- values (3,'organization','institutes','id','call create_org(?)','call delete_org(?)',0);

Does anyone know this? 
Has anyone configured the OpenLDAP+Oracle10g successfully? 

Thanks & regards