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

Home -> Community -> Mailing Lists -> Oracle-L -> OCI LOGIN fails

OCI LOGIN fails

From: sarath kumar <sarath_kumar0_at_yahoo.com>
Date: Tue, 29 Apr 2003 16:06:36 -0800
Message-ID: <F001.0058C542.20030429160636@fatcity.com>


Dear list,

i have a OCI program with the following function to login to the database

rc =
OCILOGON(envhp,errhp,&svchp,(text*)pcSID,(ub4)(strlen(pcSID)),(text*)pcPWD,(ub4)(strlen(pcPWD)),0,0);

the username and password i get from the getEnvVar("USERNAME",pcDefaultSID);
getEnvVar("PASWD",pcDefaultPWD);

in oracle 7.3.4 we have a user scott identified externally and USERNAME=/ is set in the environment. this use to work fine.

we migrated to ORACLE8 recently and this OCILOGON fails with 01017 error.
is there any other way of calling this function to use the username which is identified externally? as lot of scripts are dependent on this environment variable?

thanks



Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo. http://search.yahoo.com
--

Please see the official ORACLE-L FAQ: http://www.orafaq.net
--

Author: sarath kumar
  INET: sarath_kumar0_at_yahoo.com
Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message to: ListGuru_at_fatcity.com (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). Received on Tue Apr 29 2003 - 19:06:36 CDT

Original text of this message

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