Can I migrate users (and password) from my Native DB to SQL?

Emerik
Member Posts: 50
Hi,
I am in the middle of migrating a native NAV database from a NAV database server to a SQL Server. The databases contained a lot of database users, which must be migrated to SQL as well. The users can easily be created with a SQL script, but not the passwords, which are encrypted.
So my question is: Is there a way to migrate the users and their passwords from the native NAV database server to the SQL Server? And how, please ;-) ?
I am in the middle of migrating a native NAV database from a NAV database server to a SQL Server. The databases contained a lot of database users, which must be migrated to SQL as well. The users can easily be created with a SQL script, but not the passwords, which are encrypted.
So my question is: Is there a way to migrate the users and their passwords from the native NAV database server to the SQL Server? And how, please ;-) ?
0
Comments
-
Emerik wrote:Hi,
I am in the middle of migrating a native NAV database from a NAV database server to a SQL Server. The databases contained a lot of database users, which must be migrated to SQL as well. The users can easily be created with a SQL script, but not the passwords, which are encrypted.
So my question is: Is there a way to migrate the users and their passwords from the native NAV database server to the SQL Server? And how, please ;-) ?
Without some extraordinary hacking you can't migrate passwords. It can be done, but would take way longer than reentering them.
On the other hand you really should consider AD and Windows Logins.David Singleton0 -
Hi David,
Thanks for the quick response, even though, apparently there are no easy ways to do this.
I also suggested to switch to Windows logins, but I am solving this task for a customer, that does not wish to switch away from the database logons.
BR Emerik0 -
The issue is cracking the Navision password, which is illegal btw since it breaches the contract you signed with Microsoft, but ignoring that for the moment, you would need to create a new field in the User table with an unencrypted password, then write a brute force program that will crack the password, put that in the new field and then use that to generate passwords in SQL.
The security issues are just the tip of the iceberg here. Just how long will it take to crack a 20 character password?David Singleton0 -
According to this it would take a supercomputer 83.5 days to crack an 8 character password using upper/lower/numbers/symbols. A 20 character with just letters would take over 600 billion years, or 120 times longer than the earth has been around
http://www.lockdown.co.uk/?pg=combi
I don't know if any of that is really true, but it's not worth itJust have the users set themselves new passwords in the new database.
0 -
Hi,
I have no intention of cracking the passwords. I just wanted to find the smoothest way to migrate users (and their passwords), preferably without having to involve them in work by asking them to change their passwords or something like that.
Apparently, that is not really feasable, so that's just too bad, but no disaster.
BR Emerik0
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