[Linux-Biella] Configurazione samba che non va
manfredo a quadrastudio.it
manfredo a quadrastudio.it
Gio 17 Lug 2008 12:00:17 CEST
Sto facendo una conf per samba, e voglio dire... ne avrò già fatte 20 solo
quest'anno, ma questa mi fa tribolare.
Primo problema. Non funziona wins o il riconoscimento dei nomi del netbios.
In pratica riesco a farmi considerare da smbclient solo se mette come
target l'indirizzo ip:
es. smbclient //192.168.2.1/ va! Ma se faccio (come dovrebbe essere giusto)
smbclient //exploring/banshee mi da connection failed
vi copio/incollo la conf che sto provando
[global]
workgroup = exploring
server string = %h server
wins support = yes
; wins server = w.x.y.z
include = /etc/samba/dhcp.conf
dns proxy = no
; name resolve order = lmhosts host wins bcast
interfaces = eth1
bind interfaces only = true
log file = /var/log/samba/log.%m
max log size = 1000
; syslog only = no
syslog = 0
panic action = /usr/share/samba/panic-action %d
security = user
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
invalid users = root
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
; pam password change = no
; load printers = yes
; printing = bsd
; printcap name = /etc/printcap
; printing = cups
; printcap name = cups
; printer admin = @ntadmin
; include = /home/samba/etc/smb.conf.%m
socket options = TCP_NODELAY
# message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
domain master = yes
local master = yes
preferred master = yes
os level = 35
; idmap uid = 10000-20000
; idmap gid = 10000-20000
; template shell = /bin/bash
; winbind enum groups = yes
; winbind enum users = yes
#======================= Share Definitions =======================
[homes]
comment = Home Directories
browseable = no
writable = no
create mask = 0700
directory mask = 0700
valid users = %S
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
public = no
writable = no
create mode = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[ufficio]
comment = Spazio di lavoro riservato
path = /home/samba/ufficio
public = no
writable = yes
force group = ufficio
printable = no
guest ok = no
create mask = 0770
directory mask = 0770
Maggiori informazioni sulla lista
Linux