Re: DBI Integrated Security

[email protected] ("Jenda Krynicky")
Newsgroups perl.beginners
Message-ID <[email protected]>
From: "HESTER, CHRISTOPHER" <[email protected]>
> 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


===== [email protected] === 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.