DBMS_LDAP authentication issue
770914Oct 4 2010 — edited Oct 5 2010Hello,
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.