Highlighted
Micro Focus Expert
Micro Focus Expert
70 views

UCMDB Tip : How can connections be made to a DB using NT auth when using a generic database adapter?

How can connections be made to a database using NT Authentication when using a generic database adapter with HP Universal CMDB (uCMDB) 10.01?

 

 

It is possible to connect to a Microsoft SQL Server that requires NT authentication. To do so a driver that can parse domains is needed (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 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.

 

 

Reference : http://support.openview.hp.com/selfsolve/document/KM00668645

“Micro Focus 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 to say 'Thanks'
Labels (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.