Пытаюсь создать каталог от самбы в который может войти только авторизованный пользователь
[secret]
guest ok = no
comment = SecretDoc
valid users = secret
invalid users = guest
path = /home/secret
writeable = yes
read only = no
browseable = yes
# su
# useradd secret
# passwd secret
# cd /home
# mkdir secret
# chown secret
# smbpasswd secret
New SMB password:
Retype new SMB password:
Failed to find entry for user secret.
Failed to modify password entry for user secret
при попытке из винды войти в каталог secret вылетиет окно авторизации.
Но войти не могу. Ошибка неверный пользователь или пароль.