OS authentication in mod_plsql [message #596464] |
Mon, 23 September 2013 10:03 |
|
VenkatRaghaven86
Messages: 3 Registered: September 2013 Location: INDIA
|
Junior Member |
|
|
Hi All,
Am trying to launch mod_plsql page using OS authenticated DB user (CREATE USER XXXX IDENTIFIED Externally)but stuck up with the configurations to be done in dad.conf file.
The page is working with normally created DB user (CREATE USER XXXX IDENTIFIED BY VALUES 'YYYYYYY') and the configurations in dads.conf is as below:
<Location /path/>
SetHandler pls_handler
Order deny,allow
AllowOverride None
PlsqlDatabaseConnectString ServerName:Port:DB Instance Name
</Location>
Could anyone please suggest me what should be configured in dads.conf for OS authenticated user?
With Regards,
Venkat Raghaven.D
Mob:+91-9962063360
|
|
|
Re: OS authentication in mod_plsql [message #596478 is a reply to message #596464] |
Mon, 23 September 2013 12:41 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
Welcome to the forum. Please read our OraFAQ Forum Guide and please read How to use [code] tags and make your code easier to read
I do not see how it is possible to use OS authentication for a session launched through mod_plsql. The impossibility is that mod_plsql will be running under whatever account launched the Apache web listener on whatever machine Apache happens to be running on, so the OS account will be meaningless to the database. Yes, I know that you could be running Apache on the database server - but the session is still established over a network link, so the database cannot authenticate it as a local OS user. A technology limitation.
I am of course open to correction on this.
|
|
|
|
Re: OS authentication in mod_plsql [message #596517 is a reply to message #596505] |
Tue, 24 September 2013 05:33 |
John Watson
Messages: 8960 Registered: January 2010 Location: Global Village
|
Senior Member |
|
|
You seem to be describing the usual situation where you have authentication details embedded in the DAD, and users never authenticate to the database. Just include lines such as this in your dads.conf:PlsqlDatabaseUsername SCOTT
PlsqlDatabasePassword tiger
PlsqlDatabaseConnectString 127.0.0.1:1521:orcl
PlsqlAuthenticationMode Basic
|
|
|
|
|