Using LDAP in ORACLE

503 views
Skip to first unread message

Javier

unread,
Jan 15, 2010, 10:04:21 AM1/15/10
to Oracle PL/SQL
I'm writing an application to reconcile users between Oracle and
Windows and would like to know if someone did this before or has any
working example of LDAP in Oracle.
So far, the only one I found was this one (http://groups.google.ca/
group/oracle-plsql/browse_thread/thread/d329d8a810ebb0fc/
66322fcc2fd6555d?hl=en&lnk=gst&q=ldap#66322fcc2fd6555d) but I couldn't
make it work.
Any help will be much appreciated.
Thx.
J.

ddf

unread,
Jan 15, 2010, 10:31:52 AM1/15/10
to Oracle PL/SQL


Define 'couldn't make it work.' Since you post no error messages one
wonders why it 'doesn't work'. So post the error messages you're
generating with this code so someone will have enough information to
assist you.


David Fitzjarrell

Javier Montani

unread,
Jan 15, 2010, 10:42:31 AM1/15/10
to oracle...@googlegroups.com
ORA-31202: DBMS_LDAP: LDAP client/server error: Invalid credentials. 80090308: LdapErr: DSID-0C090334, comment: AcceptSecurityContext error, data 525, vece
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 86
ORA-06512: at "SYS.DBMS_LDAP", line 1455
ORA-06512: at "SYS.DBMS_LDAP", line 79
ORA-06512: at line 40

Line 40 is
l_retval := SYS.DBMS_LDAP.simple_bind_s(ld     => l_session,
                                      dn     => l_ldap_user,
                                      passwd => l_ldap_passwd);

Do you have anything working with LDAP in Oracle that I could use?
Thx.

2010/1/15 ddf <ora...@msn.com>
--
You received this message because you are subscribed to the Google
Groups "Oracle PL/SQL" group.
To post to this group, send email to Oracle...@googlegroups.com
To unsubscribe from this group, send email to
Oracle-PLSQL...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Oracle-PLSQL?hl=en

Reply all
Reply to author
Forward
0 new messages