I have Oracle XE 11g running on Windows 7 host I am able to connect to Oracle using OS Authentication in SQLPlus I am able to connect to Oracle in Delphi using TSQLConnection with username and password
When I blank the username and password in SQLConnection.Params and set OSAuthentication and/or OS Authentication (all combinations) params to True and attempt to set Connected to True I get:
ORA-01017: invalid username/password; Logon denied;
Has anyone connected to Oracle using OS Authentication using Delphi and dbExpress?
TSQLConnectionuses the user associated with the calling thread unless told otherwise. So try using Win32 impersonation when connecting with a blank username/password. - Remy LebeauImpersonateLoggedOnUser()or related function. The user associated with the thread is the user who started the app's process by default, unless the thread impersonates another user programmably. - Remy Lebeau