Windows Authentication logs in as a different user
afarr
Member Posts: 287
We have a user ABC who logs in to a Terminal Server using Remote Desktop, opens NAV with Windows Authentication, but is getting logged in as Domain\Administrator i.e. she sees the same menus as the Administrator, and the toolbar at the bottom of NAV shows "Domain\Administrator 14/10/11".
Other users can logon to the same machine and run NAV without problem. Even ABC can work fine when she runs NAV from a different machine. It is just one specific user on one specific machine that has the problem.
When a different user checks the list of Database Sessions in NAV (File – Database – Information), they see Administrator logged in, not ABC. However, when ABC types whoami in a command prompt, it returns ABC, so it is just NAV that has the problem.
We have synced her security, removed her zup file, and had her log out of Windows and log back in, and the problem re-occurs.
I thought the problem might be from Codeunit 1, but it has not been modified since last year.
This is NAV 2009 SP1 classic on SQL, Win 2008 server, SQL 2008.
Any suggestions for resolving this are appreciated.
Other users can logon to the same machine and run NAV without problem. Even ABC can work fine when she runs NAV from a different machine. It is just one specific user on one specific machine that has the problem.
When a different user checks the list of Database Sessions in NAV (File – Database – Information), they see Administrator logged in, not ABC. However, when ABC types whoami in a command prompt, it returns ABC, so it is just NAV that has the problem.
We have synced her security, removed her zup file, and had her log out of Windows and log back in, and the problem re-occurs.
I thought the problem might be from Codeunit 1, but it has not been modified since last year.
This is NAV 2009 SP1 classic on SQL, Win 2008 server, SQL 2008.
Any suggestions for resolving this are appreciated.
Alastair Farrugia
0
Answers
-
To me it looks like an Administrator logged into the terminal server from ABC's computer and clicked "Save Credentials".
Check which RDP client you are using, and make sure you have the latest for Windows 2008.David Singleton0 -
Another thing it could be is that the Administrator logged into a new RDP session from ABCs session, and that session is still running full screen.
I get the feeling that a reboot of the Terminal Server is also going to be necessary.David Singleton0 -
Best is to look into "Credential manager" on the server if there is saved login for the SQL server.0
-
Thanks for the suggestions.
I logged in as ABC, started the Credential Manager (actually Control Panel - Stored Users and Passwords), and found the Administrator there. I changed this to ABC, and the problem was resolved.
I still don't know how it was caused in the first place. I used to save my RDP credentials when connecting TO this machine, but I never used RDP FROM the machine (the icons are different, the list of possible servers is completely different).Alastair Farrugia0 -
May be you connected to shared folder or admin share on the sql server and you needed to enter the logins...0
-
Yes, it was actually WebServices - when I tried to connect it gave me a login dialog box. I entered the Administrator details, and clicked "Save Password".
I'll make sure not to do that in future :-).Alastair Farrugia0
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
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 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

