![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I'm using Oracle 10g Release 2 on IBM AIX. sqlplus /@PPRD works fine with Secure External Password Store where PPRD is a TNS Alias It's not working for my OCI program. Code for OCI rc = OCILogon(p_env, p_err, &p_svc, "/@PPRD", 6, "", 0, "", 0); yields Logon Error - ORA-01005: null password given; logon denied Various other combinations also fail. |
#3
| |||
| |||
|
|
Warren Van Wyck wrote: I'm using Oracle 10g Release 2 on IBM AIX. sqlplus /@PPRD works fine with Secure External Password Store where PPRD is a TNS Alias It's not working for my OCI program. Code for OCI rc = OCILogon(p_env, p_err, &p_svc, "/@PPRD", 6, "", 0, "", 0); yields Logon Error - ORA-01005: null password given; logon denied Various other combinations also fail. various docs and examples abound ... http://www.oracle-base.com/articles/...tore_10gR2.php and http://www.google.com/search?hl=en&q...earch&aq=f&oq= |
#4
| |||
| |||
|
|
Hi, I had already read the first link in depth -- it does not show how to code a OCI logon. I had also googled it, checked Oracle forums and have not seen the proper parameter list. Pro*C SQL CONNECT works OK, but I'm working for specific advice for OCI. SEPS is set up properly since SQLPLUS and PRO*C work with it. -- Warren Michael Austin wrote: Warren Van Wyck wrote: I'm using Oracle 10g Release 2 on IBM AIX. sqlplus /@PPRD works fine with Secure External Password Store where PPRD is a TNS Alias It's not working for my OCI program. Code for OCI rc = OCILogon(p_env, p_err, &p_svc, "/@PPRD", 6, "", 0, "", 0); yields Logon Error - ORA-01005: null password given; logon denied Various other combinations also fail. various docs and examples abound ... http://www.oracle-base.com/articles/...tore_10gR2.php and http://www.google.com/search?hl=en&q...earch&aq=f&oq= |
#5
| |||
| |||
|
|
Warren Van Wyck wrote: Hi, I had already read the first link in depth -- it does not show how to code a OCI logon. *I had also googled it, checked Oracle forums and have not seen the proper parameter list. *Pro*C SQL CONNECT works OK, but I'm working for specific advice for OCI. *SEPS is set up properly since SQLPLUS and PRO*C work with it. -- *Warren Michael Austin wrote: Warren Van Wyck wrote: I'm using Oracle 10g Release 2 on IBM AIX. sqlplus /@PPRD works fine with Secure External Password Store where PPRD is a TNS Alias It's not working for my OCI program. Code for OCI rc = OCILogon(p_env, p_err, &p_svc, "/@PPRD", 6, "", 0, "", 0); yields Logon Error - ORA-01005: null password given; logon denied Various other combinations also fail. various docs and examples abound ... http://www.oracle-base.com/articles/...asswordStore_1.... and http://www.google.com/search?hl=en&q...l+password+sto... Question.. is the OCI connection being called from the same "server" or is it a remote app server? http://download.oracle.com/docs/cd/B.../b14250/oci08s... and http://download.oracle.com/docs/cd/B...b14266/toc.htm *specifically chapter 9: and subsection "Configuring Clients to use the External Password Store". |
ort:sid string.
B17
ort:sid string.![]() |
| Thread Tools | |
| Display Modes | |
| |