Highlighted
Micro Focus Frequent Contributor
Micro Focus Frequent Contributor
117 views

UCMDB Support Tip: How to connect to DB using NT Authentication when using a generic DB adapter?

Hello All,

 

In order to connect to an MS SQL Server that requires NT authentication, you will need a driver that can parse domain (i.e jTDS JDBC Driver). The authentication is done according to the given parameters (domain, username, password), and not with the current running process NT credentials.

 

1. In the persistence.xml you need to edit the following properties as follows:

 

<!--The driver class name"/-->

<property name="hibernate.connection.driver_class"

  value="net.sourceforge.jtds.jdbc.Driver"/>

<property name="hibernate.connection.url" value="jdbc:jtds:sqlserver://[host name]:[port];DatabaseName=[database name];domain=[the domain]"/>

<!--DB login credentials"/-->

<property name="hibernate.connection.username" value="[username]"/>

<property name="hibernate.connection.password" value="[password]"/>

2. Place the JDBC driver file under: <probe installation folder>\lib\.

3. Restart the probe.

“HP Support
If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.”

Click the KUDOS star on the left to say 'Thanks'
Labels (1)
Tags (1)
0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.