Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> OCI LOGIN fails
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
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