Answer the question
In order to leave comments, you need to log in
[SOLVED] Authorization error on Debian Samba server
Goodnight!
Given
The test computer is running Debian stable.
Installed Samba
Task
Full write access to the root partition via Samba
Attempted solution in smb.conf
[root]
path = /
browsable = yes
read only = no
guest ok = no
write list = root
Result
The system does not accept the root username/password.
PS I know what ACL is and what it is eaten with, but there must be a simpler solution.
PPS The security issue in last place is a computer on a home network and is intended only for tests.
UPD. There was no root user in the Samba user database
List of users able to log in to Samba:
"pdbedit -L"
Thanks for the help.
Answer the question
In order to leave comments, you need to log in
smbpasswd -a username
After that, the system will ask you to enter a password. Enter a new password and everything will work.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question