Windows authentication query.
Deep
Member Posts: 569
Dear All,
I am using windows authentication at one of my NAV setups.
As soon as finsql is started, system logs in to NAV.
My query is -
Can I configure my system such a way that on starting finsql, the system asks for my windows ID and password as in DB server authentication?
Any help is appreciated.
I am using windows authentication at one of my NAV setups.
As soon as finsql is started, system logs in to NAV.
My query is -
Can I configure my system such a way that on starting finsql, the system asks for my windows ID and password as in DB server authentication?
Any help is appreciated.
Regards,
Deep
India
Deep
India
0
Comments
-
Hi Deep,
I guess by 'system' NAV is meant.Can I configure my system such a way that on starting finsql, the system asks for my windows ID and password as in DB server authentication?
The answer is: no you cannot as that is exactly where WIndows Authentication has been conceived for: that a user once logged into his windows machine (passing the windows security system) has direct access to NAV on SQL Server based on his windows credentials.
If you want NAv to be setup in such a way the users need to login separately into NAV you should be using Database Logins using SQL Server authentication on your SQL Server.0 -
Thanks Luc for the explanation.Regards,
Deep
India0 -
Depending exactly on your needs, you might be able to make use of the runas command in Windows. It's a command line utility that you can use to run an application in Windows as another user on the domain. It will allow you to start finsql as a different user, and then finsql will pass that other users credentials through to SQL server.
You could create a batch file that takes in a username from the user, then passes that into the runas command, which would then prompt for the password, which would then start Nav.
Tim
Resources:
RunAs - http://technet.microsoft.com/en-us/libr ... 90994.aspx
http://support.microsoft.com/kb/2946760
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 253 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions
