| Oracle FAQ | Your Portal to the Oracle Knowledge Grid | |
Home -> Community -> Usenet -> c.d.o.misc -> [odbc] SQLDriverConnect with a user identified externally
Hi
In Window NT environment via ODBC, I want to connect an Oracle database using a user identified externally to avoid any password management in my database.
I use SqlDriverODBC function
RETCODE SQLDriverConnect(
hdbc,
NULL,
szConnStrIn, // Input connect string
strlen(szConnStrIn),
szConnStrOut, // Output connect string
cbConnStrOutMax, // Length of output connect string
buffer
&cbConnStrOut,
SQL_DRIVER_NOPROMPT )
I have set SQL_DRIVER_NOPROMPT do avoid any complementary dialog box display.
!!! But I can't find any appropriate ODBC connect string to use this 'identified externally' feature.
I've tried following connect strings :
DSN=MY_ORACLE_SOURCE;
DSN=MY_ORACLE_SOURCE;UID=;PWD=;
DSN=MY_ORACLE_SOURCE;UID='';PWD='';
DSN=MY_ORACLE_SOURCE;UID=/
None of these connect string works.
Does anybody have a solution to connect a user identified externally ???
Please answer via e-mail nicolas.germain_at_mc2.fr
Thanks in advance for any help
--
Nicolas Germain mailto:Nicolas.Germain_at_mc2.fr MC2 tel:+33 (0)4 76 04 5000 (direct 5026) 4, Chemin de Malacher fax:+33 (0)4 76 04 5001 ZIRST 4401 http://www.mc2.fr 38944 MEYLAN CEDEX GRENOBLE - FRANCEReceived on Fri May 22 1998 - 11:06:07 CDT
![]() |
![]() |