MS SQL Server: NT Authentication. Possible?

Jarek Zgoda jzgoda at o2.usun.pl
Fri Aug 18 15:25:40 EDT 2006


Dirk Hagemann napisał(a):

> 'Exception occurred.', (0, 'Microsoft OLE DB Provider for ODBC
> Drivers', "[Microsoft][ODBC SQL Server Driver][SQL Server]Login failed
> for user '(null)'. Reason: Not associated with a trusted SQL Server
> connection.", None, 0, -2147217843), None)

This indicates, that user credentials was not retrieved from
ActiveDirectory server.

> Do I have to make some settings at the MS SQL Server? I just can't find
> a simple example how to use adodbapi with NT authentication...

I tried few times but I gave up. Now I authenticate my users against AD
using LDAP queries. They have to provide their credentials, though, and
I know it's suboptimal.

-- 
Jarek Zgoda
http://jpa.berlios.de/



More information about the Python-list mailing list