Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Hi I have setup samba with the following configuration found below:

each valid users have their home folders and I have added the samba password with:

adduser home
smbpasswd -a home

However when going to the server with windows I find the following folders:

1tb/
home/
stephen/

1tb/ gives is not accessible, User Name could not be found home/ works as expected and I can view the home folder 1tb/ asks for password, I use home and the smbpasswd, it keeps saying access is denied. When I type an incorrect password error message is The username or password is incorrect

smb.conf

[homes]
   comment = Home Directory for %S
   browseable = no
   path =/home/%S
   writeable =yes
   read only = yes
   create mask = 0700
   directory mask = 0700
   valid users = %S

[1TB]
commend = 1 Terabyte Drive
path = /media/1TB
writable = yes
valid users = stephen home
write list = stephen home
read only = no
create mask = 0700

[stephen]
path = /home/stephen
available = yes
writeable = yes
valid users = stephen home
force user= samba
create mask = 0700
browsable = yes
share|improve this question

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.