On Fri, May 14, 2010 at 11:44 AM, Kevin Castellow
<[email protected]> wrote:
> I am using Apache with mod-dbd and the Oracle Instant client.  I am not
> seeing the correct connection string values sent to Oracle from Apache
> despite the values in my TNS file and httpd.conf.
>
> My HTTPD.CONF snippet looks like this:
>
> # mod_dbd configuration
> DBDriver oracle
> DBDParams "user=dcbdev2 pass=dcbdev2 dbname=test.company.net
> server=asglssora02-vip"
...
> The problems are there is not a SERVICE_NAME value, the user name is the
> name of the process starting Apache and not the database user.
> The only value that is correct is the host ip address but I'm not sure how
> it got that value but not the other values.
>
> How do I populate the value of the service name and user properly?

If you want to experiment, try adding "#define CAN_DO_LOGIN" to the
top of apr_dbd_oracle.c in APR-Util and rebuilding.

The user and pass are specified on an earlier DB call when that is
defined.  Also, the dbname will never be provided unless CAN_DO_LOGIN
is defined.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [email protected]
   "   from the digest: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to