Topic
  • No replies
0MPQ_Arun_kumar_Anand
1 Post

Pinned topic Error Connecting to SQL Sever ->Setting AD ID( active directory) user for connecting to SQL server(windows) using mqsisetdbparams for broker running on linux

‏2013-10-07T02:53:26Z |

I have a requirement of configuring the broker with AD id and password to connect to SQL database server . 

The commands what I entered for setting up is given below : 

a> First I created DSN 

b> stopped the broker 

c>executed : 
mqsisetdbparams BROKERNAME -n SQL_ASDA_TMS -u UK\\sqltmsdb -p wmbdev 

d>started the broker 

after setting the above property and restarting the broker I tried to validate the connectivity using mqsicvp command which eventually failed and the error was logged in SQL server as 

login failed for user 'UK\sqltmsdb' .Reason:Attempting to use an NT account name with SQL server authentication 

 

 

Find my DSN details below :

;# UNIX to SQLServer stanza 
[SQL_ASDA_TMS] 
Driver=/opt/IBM/mqsi/7.0/ODBC/V6.0/lib/UKmsss24.so 
Description=DataDirect 6.0 SQL Server Wire Protocol 
Address=LABUKNTS5028.uk.wal-mart.com,14481 
AnsiNPW=Yes 
Database=TMS 
Trusted_Connection=Yes 
QuotedId=No 
ColumnSizeAsCharacter=1 
LoginTimeout=0

 


Note: 
=== 
Broker is running on linux 
The windows application is able to connect to SQL server using that AD Id 
Broker is able to connect to the same SQL server using normal SQL id and password and failing with AD (active directory) Id 

Can somebody help me in telling whether whatever I am trying to implement is possible or not ? 
If yes could you please help me what should I be doing to resolve this issue and if I am missing something here ?

Updated on 2013-10-07T09:43:05Z at 2013-10-07T09:43:05Z by 0MPQ_Arun_kumar_Anand