Re: auto login from oraperl script

From: Bernard T. French <btf64_at_cas.org>
Date: Fri, 27 May 1994 20:05:53 GMT
Message-ID: <1994May27.200553.11279_at_chemabs.uucp>


In article <2s51qt$nd3_at_courier.urbana.mcd.mot.com> gilling_at_urbana.mcd.mot.com (Harry Gilling) writes:
>I'm writing an oraperl script and the script to logon to Oracle
>using Oracle's OS user authentication feature. I can't figure out
>how to do this.
>
>I've tried the following command lines, noe of which work
>
> $lda -= &ora_login( $UID, '','');
> $lda -= &ora_login( $UID, '/','');
> $lda -= &ora_login( $UID, '\/','');
> $lda -= &ora_login( $UID, '','\/');
>
>I either get an oraperl error or oracle complains about a null
>password.
>
>Any help would be greatly appreciated.

     I use:

     $USER = "/";
     $lda = &ora_login('', $USER, '') || die "$ora_errstr\n";

     Assuming your ORACLE environment variables have been set.

	 -- Bernie
-- 
+------------------------------------------------------------------------+
|   REWARD: Lost .sig, last seen in comp.sys.*, comp.lang.* or bionet.*  |
|                 answers to the name btf64_at_cas.org                      |
+------------------------------------------------------------------------+
Received on Fri May 27 1994 - 22:05:53 CEST

Original text of this message