Skip to Main Content

APEX

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 authentication issue

770914Oct 4 2010 — edited Oct 5 2010
Hello,
I have been using DBMS_LDAP for authenticating Active Directory login in my application since last 5 months. Its been working fine until today i encountered this error when i logged in.
ORA-31204: DBMS_LDAP: PL/SQL - Invalid LDAP Session.
ERR-10460 Unable to run authentication credential check function.

Code i use to authenticate AD log in...

l_domain varchar2(256) := 'corp.irco.com';
l_ldap_port number := 389;

l_user := p_username||'@'||l_domain;
l_session := dbms_ldap.init( l_domain, l_ldap_port );
l_retval := dbms_ldap.simple_bind_s( l_session, l_user, p_password );
l_retval2 := dbms_ldap.unbind_s( l_session ); -- unbind

I am not much familiar on netowrking. Can anyone suggest from where should i start to debug this issue.

Thanks,
Shankar.
This post has been answered by cpe on Oct 5 2010
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Nov 2 2010
Added on Oct 4 2010
10 comments
1,096 views