Friday, May 3, 2024
 Popular · Latest · Hot · Upcoming
1
rated 0 times [  1] [ 0]  / answers: 1 / hits: 32845  / 3 Years ago, sun, august 15, 2021, 11:32:34
$ smbpasswd
Old SMB password:
New SMB password:
Retype new SMB password:
Could not connect to machine 127.0.0.1: NT_STATUS_LOGON_FAILURE


One suggestion was to add the user to samba



smbpasswd -a frank 


This brought up list of options, should it tell me user added?



Samba quick start guide use smbadduser name:name but that gave command not found



Did that but when I retry to change password I get same error message.



Browsing around it suggests that this error message is that you did not enter old password, as it is a new install I presumed it to be blank and googling samba default password came up with 1234 as default password, so tried that in the old SMB password... same error.


More From » samba

 Answers
6

First try to add a user.



useradd -c "User Name" -d /home/user -s /sbin/nologin user


The create a password for that user



smbpasswd -a user
New SMB password:
Retype new SMB password:


and you will get



Added user user.



After that, you have to define shares. Let me know if it works.



*Make sure you replace User Name and user, with the real user



Try run passwd, then sudo smbpasswd


[#37239] Sunday, August 15, 2021, 3 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
finatch

Total Points: 49
Total Questions: 106
Total Answers: 94

Location: Kazakhstan
Member since Mon, Sep 26, 2022
2 Years ago
;