Hello all. Long time onlooker, first time posting.
I have an issue which may be more of a network one than Navision but would really appreciate any advice.
We wish to switch over to using Windows Authentication. However we have users running Nav (4.0 SP2) on two different domains. When they try to log in on the 2nd domain (that SQL is not sitting in) they receive an SQL error when running Nav that the user " does not exist. Can SQL be made to recognize two domains somehow?
0
Comments
e.g.
viewtopic.php?f=23&t=38947&hilit=runas
It is almost there, but I wish to send parameters to Nav such as NTAuthentication=Yes. Unfortunately it seems the runas command does not accept any parameters. I wonder if anyone has found a workaround for that?
But I'm guessing you want to add parameters with the finsql.exe. Although I haven't tested it, it appears that those parameters can be added when adding quotes:
|To-Increase|
Many thanks for the reply.
I just tried inside two quotes, and interestingly it takes the first parameter, but not the following ones.
If I do the below, all of the parameters (in red) end up in the server name field in the client. So I need to seperate them somehow and I have tried commas, semi-commas, slashes etc to no avail.
runas /user:domain\username "C:\Program Files\Microsoft Business Solutions-Navision\Client\finsql.exe ServerName=MYCOMPDB01 NTAuthentication=Yes database=Mycomp ID=Mycomp company=Mycomp"
|To-Increase|