Problems with a migration AD

mabeledo
Member Posts: 6
Hi, i have a problem migrating my Navision Attain Server (SQL) to Windows 2003. I pass te users in the Active Directory, but the SID is not the same, then Navision don't recognize the user .
Any idea???
Thanks.
Miguel Angel.
Any idea???
Thanks.
Miguel Angel.
0
Comments
-
If you move the DB into new domain, the SIDs are different. You must reenter the user names to use new SIDs.0
-
Thanks Kine, but this is that i didn't want to do. I have 300 users and a lot of roles and i should reenter all.
I thought that i could translate the SID in the migration to avoid reenter the users.0 -
If there was only migration from Native DB to SQL, there is no need for translating the SIDs. They will be same. If you are moving into server in another domain, you can do this:
before migration, export (or copy&paste) columns ID and SID from the table Windows Logins...
After migration import the file through some dataport and do this>
For the imported ID create new record in Windows Logins table (by Validating the ID). Copy for this new line with new SID all lines from table Windows Access Control (2000000053) with Login SID = Old SID and save them with new Login SID.
You are done...
It is only few lines of simple code...0 -
A good idea Kine. You are a genius!
I'm going to check it.
I'll tell you.0 -
I used it one month ago when we were moving to new domain... :-)0
-
I'm trying now, but the process with the Windows Login table is very slow. Exporting with a Dataport, for each record, DB search in the Windows Access Control table.
...patience!0 -
All operations with AD in Navision are slow... We have only something around 40 users in the DB - it was fast...0
-
Hi Kine, sorry by as much annoyance, but when inserting a record in table Windows Login by validating the ID, indicates that cannot be done because ID is a flowfield and should begin with "Sum(..."0
-
Ok, sorry, I forgot that... you must find the SID in virtual table 2000000050 Windows Object...0
-
I am trying to do the same thing here, but don't understand how the Windows Object relates to the SID
please advise.0 -
Just filter the table "Windows Objects" for ID=User Name and you will get SID in the SID field. You can use this SID to insert the user back into the "Windows Login" table to insert the correct user back into the system with new SID. And you will use same new SID to insert the user roles into "Windows Access Control" table.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