Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.misc -> Binding to LDAP from Oracle

Binding to LDAP from Oracle

From: GoPahDoo <gopahdoo_at_my-deja.com>
Date: Wed, 09 Feb 2000 00:45:12 GMT
Message-ID: <87qdam$d57$1@nnrp1.deja.com>


Within Oracle 8.1.5 (on Solaris Unix), I'm using Oracle's External Routine to call a C program and passing to it a username and password. This C program then connects (binds) to the LDAP server using the two passed-in parameters.

If bind to LDAP server is successful, C program returns a 0 (zero) to Oracle. If uncessful bind, returns a 1 back to an Oracle function (using Ext Routine).

If I run this C program from a Unix prompt and pass it username/password, it connects to the LDAP server fine. Problem is running it from within Oracle. From Oracle Ext Routine, keeps returning a 0 (zero) every time.

Has anyone encountered this problem? Or is this even possible (Oracle External Procedure => C => LDAP)? Please help!

Thnx.

--
Shawn Huynh

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Feb 08 2000 - 18:45:12 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US