Interesting, Charlie!  By the name of this script, I assume it's used to
change your Oracle password, but it's not searching against OiD, unless
you've manually added the "Directory Manager" cn.  Are you using iPlanet?
Are your Oracle clients authenticating against this LDAP server?  Or for
Oracle names resolution?

Very interesting.  Especially since Oracle Support now balks at every
mention of a non-OiD LDAP server for Oracle lookups.  And the stupid netca
(Net Config Assist) is the only supported method of creating an "Oracle
Context" in LDAP (in order to use OiD for Oracle names resolution).  Of
course it only takes a little work to create the correct LDIFs to create
your own "Oracle Context" in iPlanet...  :D

<soapbox>
The reason I'm asking is because OID IS A PAIN.  Even v3.  Documentation is
horrible, replication is a bear, and OiD is not LDAP.  From a co-worker who
has setup iPlanet in-house, it looks like Oracle's gone off on their own to
try and change the loose LDAP "standard".  This gets to be a pain when
you're trying to debug an LDAP problem, but since Oracle's moved the
location of LDAP attributes, for example, you can't readily use widely
available LDAP documentation and examples to troubleshoot.  You must use
Oracle Support.  That's fine, but I don't want to have to log another 25
TARs to get answers to what should be simple questions.
</soapbox>

Ahhhhh...that felt good.

Rich Jesse                           System/Database Administrator
[EMAIL PROTECTED]              Quad/Tech International, Sussex, WI USA

> -----Original Message-----
> From: Charlie Mengler [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 02, 2002 3:54 PM
> To: Multiple recipients of list ORACLE-L
> Subject: Re: Does any one know how to call LDAP from UNIX script ?
> 
> 
> I hope you can read UGLY Perl code.
> 
> HTH & YMMV!
> 
> #!/usr/local/bin/perl 
> # File: chg-oracle-passwd.cgi
> use Net::LDAP;
> use Carp;
> use DBI;
>
> [truncated for brevity]
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Jesse, Rich
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to