Database Login Password in SQL

NaviDev
Member Posts: 365
Hello All,
When using the SQL database the Database Login password is located in the SQL database and cannot initially put a password in the native client, but I know it can be change. My question is how can I retrieve the encrypted password? I already tried using the User table to retrieve, but the password is not located there. :?
When using the SQL database the Database Login password is located in the SQL database and cannot initially put a password in the native client, but I know it can be change. My question is how can I retrieve the encrypted password? I already tried using the User table to retrieve, but the password is not located there. :?
Navision noob....
0
Comments
-
Did you try inserting a password in the User field instead ?0
-
Hello jannestig,
I think you get me wrong... I just want to retrieved the login password, but I am using SQL database. I also want to know where it is stored? Thanks.Navision noob....0 -
NaviDev wrote:Hello jannestig,
I think you get me wrong... I just want to retrieved the login password, but I am using SQL database. I also want to know where it is stored? Thanks.
Hi
On SQL, the login authentication is on SQL Server, not in Navision.
When a user login on Navision, his informations are validated by SQLServer.
Navision apply only permission roles.
Bye
MatteoReno Sistemi Navision Developer0 -
Hello Eto,
Yes, I know navision do it that way. But what I want to do is just retrieve the user account passwords. Is there any repository tables for the passwords when using the SQL? Thanks.Navision noob....0 -
There is no way to retrive it. And who know why do you need somebody's password... Just ask for it..-Mihail- [MCTS]0
-
You can't retrieve SQL passwords (I mean original password text).
However you can retrieve password hash, and then use it for example to transfer password to different user, on the same or different SQL Server
Regards,
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030 -
@mihail_kolev
Thanks for the opinion. But I dont want to retrieve the "real password", what I only want is the decrypted(hash).
@Slawek
Hello sir, can you share how can I retrieve the password hash? Thanks..Navision noob....0 -
NaviDev wrote:Hello All,
When using the SQL database the Database Login password is located in the SQL database and cannot initially put a password in the native client, but I know it can be change. My question is how can I retrieve the encrypted password? I already tried using the User table to retrieve, but the password is not located there. :?
There is no reason for you to need to know the users passwords, you should not even ask them their passwords. What ever you are doing, it is wrong.David Singleton0 -
SQL passwords, encrypted, in binary format, are stored in sys.syslogin table in master database, so if you need to retrieve them just execute:
SELECT [name], [password] FROM sys.syslogin (I assumed that you're using SQL2005)
However they are unusable in binary format, if you need them for moving passwords between SQL Servers.
Microsoft published an article How to transfer the logins and the passwords between instances of SQL Server 2005, which also includes some T-SQL code, which might be helpful for you.
Regards,
SlawekSlawek Guzek
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-030
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