Это конечно здорово, что самба умеет жить в доменах. У меня есть сильное желание тупо без авторизации отдавать шару всяким там ноутбукам, планшетам, телефонам без авторизации, т.е. гостевой доступ. И засада какая-то, самба упорно требует авторизации. Признаю себя неосилятором, прошу помощи. Вот конфиг:
[global]
netbios name = router
read raw = no
write raw = no
socket options = TCP_NODELAY
debug level = 2
os level = 255
; auto services = global
hosts allow = 192.168.123. 127.
interfaces = 192.168.123.1/24 wlan0
; local master = Yes
; preferred master = Yes
; domain master = No
; domain logons = No
server role = standalone server
# Windows Internet Name Serving Support Section:
# WINS Support - Tells the NMBD component of Samba to enable it's WINS Server
wins support = yes
# WINS Server - Tells the NMBD components of Samba to be a WINS Client
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
# wins server = 127.0.0.1
security = user
map to guest = bad user
guest account = nobody
wins support = true
preload = global
usershare allow guests = No
[hdd]
comment = stuff
path = /mnt/hdd
public = yes
only guest = yes
writable = yes
printable = no
browseable = yes
Вот кусочек лога:
[2014/08/17 12:45:37.874068, 2] ../source3/auth/auth.c:288(auth_check_ntlm_password)
check_ntlm_password: Authentication for user [anonymous] -> [anonymous] FAILED with error NT_STATUS_NO_SUCH_USER
[2014/08/17 12:45:37.969641, 2] ../source3/smbd/service.c:856(make_connection_snum)
router (ipv4:192.168.123.1:36333) connect to service hdd initially as user nobody (uid=65534, gid=65533) (pid 2822)
[2014/08/17 12:45:53.830135, 2] ../source3/smbd/server.c:440(remove_child_pid)
Could not find child 2828 — ignoring
Может уже плюнуть на кошерность 4 версии и собрать из исходников 3 версию самбы же?