I'm hoping someone here has an answer to this, its driving me crazy.
I have a client using an ODBC connection (on XP Pro), to connect to a SQL Server database. Its set to use NT authentication.
You can create the ODBC Datasource, select the appropriate database on the appropriate server and test the connection - all is fine.
However, when you check it is actually connected to the another database on that Server, apparently the one defined as the defualt for that server.
For instance I created a connection pointing at the standard Northwind database, then I opened Access, linked to an ODBC datasource, selected my new datasource and instead of being offered a list of the tables in Northwind, I was offered a list of the tables in the other default database (not master).
I eventually got it to work as I expected, by logging off of the domain account and doing a login as the adminstrator for the local machine. In that account, the DSN worked as expected.
I have never seen a DSN with NT authentication simply provide access to another database - it should tell me I don't have access rights to the database selected or whatever.
In this case the default database is the clients main live production system, so it appears to be a glaring security risk.
Anybody know why this might happen, or even how to make it happen/stop?
Thanks.