Skip to Main Content

Security Software

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

DBMS_LDAP.add_s Invalid Object Class

37589Apr 24 2002
Hi,

My PL/SQL uses four object classes: top, person, orgnizationalPerson and inetOrgPerson. However, when adding a new user via DBMS_LDAP.add_s, got object class violation error below:
sqlcode: -31202, sqlerrm: ORA-31202:
DBMS_LDAP: LDAP client/server error: Object class violation.

Found a bug stating that an objClass of 20 char. length would cause the error, I created another object class orgPerson (created like organizationalPerson), no longer of 20 char. length. However, the same error messages persisted. Setting trace DBMS_LDAP.set_trace_level(65535) did not log or show any object class violation.

Question:
1) How do I identify which object class(es) is the culprit?
Since I am able to add user via ODM or command line, I don't see anything wrong with these object classes (top, person, orgPerson and inetOrgPerson).

2) How do I get around or fix the API problem? Anyone ever successfully added users via DBMS_LDAP.add_s on the Solaris platform?

Thanks,
Olivia
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 11 2002
Added on Apr 24 2002
5 comments
474 views