In our environment for database access we are given AD Logins that we use as service accounts. The SQL Server documentation describes connecting with a database user in Linux but doesn't say if it is possible or not to use an AD Login. Basically I need to be able to specify the domain and username.
I can connect on Linux via odbc/freetds by specifying the username as DOMAIN//USERNAME or DOMAIN/USERNAME. Sometimes you have to escape the slash.
Hi Stephen, in this KB article you have the instructions on how edit the jdbc URL of your database. If you want to authenticate with an user of your domain, you can add the parameter
domain=MYCOMPANYDOMAIN
to your URL. Example:
jdbc.url=jdbc:sqlserver:
//<hostname>;
domain=MYCOMPANYDOMAIN
The rest would be the same. I hope it helps.
Cheers
Hi Tiago,
Currently I have this
jdbc.driver=com.microsoft.sqlserver.jdbc.SQLServerDriver jdbc.url=jdbc:sqlserver://<HOSTNAME>:1433;databaseName=Stash;domain=<DOMAIN>; jdbc.password=<PASSWORD> jdbc.user=<USERNAME>
But I still get this error:
The following problem occurred which prevents Atlassian Stash from starting correctly:
Some additional notes:
Thanks,
Stephen
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.