Migrate from SQL auth. to Active Directory auth.

ghool
Member Posts: 3
We will use Navision 4.0 sp3, users created in SQL.
We want to use AD-integrated. Can I convert SQL-users to AD-users (for existing users)?
On the other hand, can enter a domain user with non-domain computer? that is, explicitly enter a domain login and password?
We want to use AD-integrated. Can I convert SQL-users to AD-users (for existing users)?
On the other hand, can enter a domain user with non-domain computer? that is, explicitly enter a domain login and password?
0
Comments
-
As far as I know there is no (automatic) way to convert the users from SQL-authentication to Window-authentication. It is something you will have to do manually.
If you open NAV using Windows-authentication, the login is used to go to the SQL Server. So you need to create that user in SQL server (and NAV-tables).
A trick you can use is this: If that user has a domain account but his computer is NOT in the domain, you can enter NAV anyway using this command:runas /netonly /user:TheDomain\TheUser "C:\....\finsql.exe NTAUTHENTICATION=1, NETTYPE=TCP, servername=ServerName, database=DBName, COMPANY=CompanyName, ID=C:\...\mibuso2009SP1.zup"
I did find a problem though: In C/AL I cannot use "USERID" against the "Windows Login" table because the field "ID" is NEVER filled up with the name but only with the SID-value.
The runas-command I am using on my portable and it works. I use it as follows:
-I have a VM that is NOT in any domain. In that VM I have SQL Server. So I can use "Computername\Administrator" if I am inside the VM.
-But I want to run NAV (native) on the iron that is in some domain. AND I want Windows-authentication. So what do I do? I use the runas-command to run the NAV client.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
Thank you!
And how i can do it manually?
thanks for runas /netonly (i dont know it)0 -
Open both users and windows users.
For each SQL user add a new windows users.
Lookup the roles for the SQL user, select all, copy.
Lookup the roles for the windows user, paste.
Rinse Repeat for each user that you migrate.
Afterwards synchronise the logins.
Check the menu's to see if the users can view them (classic, haven't managed menu's user rights for RTC, so I can't give you pointers there)
If RTC, check the role centers.
Delete the SQL users after users confirm they can login and do their work with the windows login.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions