Re: DBI Integrated Security



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

.