J
J
juffinhalli2012-09-20 22:53:01
linux
juffinhalli, 2012-09-20 22:53:01

[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

2 answer(s)
L
leonid239, 2012-09-20
@juffinhalli

smbpasswd -a username
After that, the system will ask you to enter a password. Enter a new password and everything will work.

S
smartlight, 2012-09-20
@smartlight

did you look at the logs?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question