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.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.
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'