Note that there are some explanatory texts on larger screens.

plurals
  1. POError Connecting to SQL Sever ->Setting AD ID user for connecting to SQL server using mqsisetdbparams for broker running on linux
    text
    copied!<p>I have a requirement of configuring the broker with AD id and password to connect to SQL database server . </p> <p>The commands what I entered for setting up is given below : </p> <ol> <li><p>First I created DSN </p></li> <li><p>stopped the broker </p></li> <li><p>executed : </p> <pre><code>mqsisetdbparams BROKERNAME -n SQL_ASDA_TMS -u UK\\sqltmsdb -p wmbdev </code></pre></li> <li><p>started the broker </p></li> </ol> <p>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 </p> <blockquote> <p>login failed for user 'UK\sqltmsdb' .Reason:Attempting to use an NT account name with SQL server authentication . </p> </blockquote> <p>Find my DSN details below :</p> <pre><code>;# 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 </code></pre> <p>Note: </p> <ul> <li>Broker is running on linux .</li> <li>The windows application is able to connect to SQL server using that AD Id </li> <li>Broker is able to connect to the same SQL server using normal SQL id and password and failing with AD (active directory) Id </li> </ul> <p>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 ?</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload