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 .
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...
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.
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(..."
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.
Comments
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I thought that i could translate the SID in the migration to avoid reenter the users.
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...
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
I'm going to check it.
I'll tell you.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
...patience!
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
please advise.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.