Установил на debian samba, ввел в домем. При попытке войти с windows машины на sambu вылазит окно с авторизацией, ввожу логин и пароль мне говорит Нет доступа
smb.conf
[global]
realm = MAG.LOCAL
workgroup = MAG
netbios name = mailn
disable spoolss = Yes
show add printer wizard = No
security = ads
idmap uid = 10000-20000
idmap gid = 10000-20000
template shell = /bin/bash
template homedir = /home/%D/%U
winbind use default domain = yes
[share]
comment = Write for Domain Users
path = /media/root/date/upload
browseable = yes
writable = yes
create mask = 0664
directory mask = 0777
valid users = @"MAG\DOCS", @"MAG\DOCS"
write list = @"MAG\DOCA", @"MAG\DOCS"
[docs]
path = /media/root/date/docs
readonly = No
guest ok = Yes