Mark Sharman · Sep 19, 2019

Credentials - Domain Account


I've a Service utilising the Adapter EnsLib.SQL.InboundAdapter, which uses a Credentials item set with the details of a local SQL account. This currently works, however, we're looking to use the credentials of an AD domain account.

The domain account is a member of an AD security group, which has the required permissions on the source SQL database. I've checked that access is possible with this account via SQL studio.

I've tested setting the Credential username as domain\username and username@FQDN, but neither create a successful connection.

Is there something simple i'm missing to be able to utilise domain credentials?



0 213
Discussion (2)3
Log in or sign up to continue

Not sure if this will answer your question or not, but we had to move to the jTDS JDBC driver in order to pass an AD account through a connection.

jdbc:jtds:sqlserver://(server name/port) ;instance=tp;domain=osumc;useNTLMv2=true;cacheMetaData=true;prepareSQL=2;

In addition to Scott answer, I need to add one additional parameter:


Thanks for the post Scott, it was very helpful!

Regards, Joel