sharpied79
IS-IT--Management
We need to access an Informix database residing on a SCO Unix server.
We were provided with a 32bit ODBC driver (part of the Esker Tun Plus Suite) by the people who look after our Informix and Sco Unix. We were advised to use this particular ODBC driver as the official IBM Informix ODBC driver as part of the SDK is not properly compatible.
We have a 32bit Windows 2003 Server running SQL Server 2005 (32bit – SP1) and the ODBC driver is installed on this server and setup as a SYSTEM DSN.
Within SQL Server 2005 we have setup a link server using the Microsoft OLE DB provider for ODBC and the linked server’s data source points to the SYSTEM DSN.
If I make an “openquery” to the SQL 2005 server from my PC using SQL Server Management Studio logged in as our domain admin account, which is also a member of the local administrators group on the Windows server (and it’s also the account that installed SQL Server) the query works fine.
If I login to SQL Server Management Studio from my PC as myself (I have added my Windows/AD account and given myself the sysadmin rights), when I try to run the same query it just freezes (sits there trying to run the query)and brings back no results. However I find if I add myself as a local administrator on the Windows server and re-run the query it works fine.
I can only assume that this is something to do with Windows permissions/authentication on the actual server in regards to accessing the SYSTEM DSN using the ODBC driver??
If I login from my PC using SQL Server Management Studio using a SQL account such as “sa” as long as there is a remote mapping with the correct username and password in the security section of the linked server, that too works!
I even tested this by creating a simple SQL account that had no specific rights other than what is granted by default and that too worked fine.
I really do not want to give users access as local administrators on the Windows server as this would give them full control over Windows Server and by inheritance full rights over the SQL Server as well.
I know I could setup the users as SQL authenticated users, but this kind of defeats the object, I would ideally like them to authenticate using Windows authentication.
Any help would be much appreciated.
Thanks.
We were provided with a 32bit ODBC driver (part of the Esker Tun Plus Suite) by the people who look after our Informix and Sco Unix. We were advised to use this particular ODBC driver as the official IBM Informix ODBC driver as part of the SDK is not properly compatible.
We have a 32bit Windows 2003 Server running SQL Server 2005 (32bit – SP1) and the ODBC driver is installed on this server and setup as a SYSTEM DSN.
Within SQL Server 2005 we have setup a link server using the Microsoft OLE DB provider for ODBC and the linked server’s data source points to the SYSTEM DSN.
If I make an “openquery” to the SQL 2005 server from my PC using SQL Server Management Studio logged in as our domain admin account, which is also a member of the local administrators group on the Windows server (and it’s also the account that installed SQL Server) the query works fine.
If I login to SQL Server Management Studio from my PC as myself (I have added my Windows/AD account and given myself the sysadmin rights), when I try to run the same query it just freezes (sits there trying to run the query)and brings back no results. However I find if I add myself as a local administrator on the Windows server and re-run the query it works fine.
I can only assume that this is something to do with Windows permissions/authentication on the actual server in regards to accessing the SYSTEM DSN using the ODBC driver??
If I login from my PC using SQL Server Management Studio using a SQL account such as “sa” as long as there is a remote mapping with the correct username and password in the security section of the linked server, that too works!
I even tested this by creating a simple SQL account that had no specific rights other than what is granted by default and that too worked fine.
I really do not want to give users access as local administrators on the Windows server as this would give them full control over Windows Server and by inheritance full rights over the SQL Server as well.
I know I could setup the users as SQL authenticated users, but this kind of defeats the object, I would ideally like them to authenticate using Windows authentication.
Any help would be much appreciated.
Thanks.