Re: DBI Integrated Security
- From: Jenda@xxxxxxxxxxx (Jenda Krynicky)
- Date: Fri, 30 May 2008 03:04:04 +0200
From: "HESTER, CHRISTOPHER" <CHESTER@xxxxxxxxx>
I'm trying to connect to a MSSQL 2000 database using integrated security
and am not having any success. My understanding is that you only need to
call DBSETLSECURE before you call dblogin, as in my example below, but
it doesn't even attempt to be reaching the SQL server. If I uncomment
the commented line of code (and vice versa for the dblogin line) it then
tries to login with the 'test' user, which should be ignored. Any help
would be greatly appreciated!
DBSETLSECURE;
#$dbh = MSSQL::DBlib->dblogin('test', 'test', $server);
$dbh = MSSQL::DBlib->dblogin($server);
use DBI; # and DBD::ODBC
Jenda
===== Jenda@xxxxxxxxxxx === http://Jenda.Krynicky.cz =====
When it comes to wine, women and song, wizards are allowed
to get drunk and croon as much as they like.
-- Terry Pratchett in Sourcery
.
- References:
- DBI Integrated Security
- From: Christopher Hester
- DBI Integrated Security
- Prev by Date: Re: how does file gets send to remote machine using perl
- Next by Date: Re: cgi ordering a table with sql
- Previous by thread: DBI Integrated Security
- Next by thread: 3270 connection via perl
- Index(es):