da RobertoITA » sabato 8 ottobre 2011, 9:38
Intanto grazie per le risposte,
seguito la guida da te indicato, ma ancora nulla incredibile.
indico sotto il mio smb.conf
#### GLOBAL ####
[global]
workgroup = WORKGROUP
server string =
netbios name = serverbox
announce version = 5.0
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE SO_RCVBUF=8192 SO_SNDBUF=8192
#### SECURITY ####
# allow hosts = 192.168.0.0/24 eth0
browseable = yes
guest ok = yes
guest only = yes
read only = no
public = YES
wins support = yes
os level = 99
domain master = yes
preferred master = yes
name resolve order = wins lmhosts hosts bcast
dns proxy = no
#### Networking ####
interfaces = eth0 192.168.0.1
bind interfaces only = yes
#### Debugging/Accounting ####
log file = /var/log/samba/log.%m
max log size = 1000
syslog = 0
panic action = /usr/share/samba/panic-action %d
####### Authentication #######
encrypt passwords = true
passdb backend = tdbsam
obey pam restrictions = yes
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\s*\spassword:* %n\n *Retype\snew\s*\spassword:* %n\n *password\supdated\ssuccessfully* .
pam password change = yes
map to guest = bad user
########## SHARE ###########
[printers]
comment = All Printers
browseable = no
path = /var/spool/samba
printable = yes
guest ok = no
read only = yes
create mask = 0700
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[public]
comment = cartella
path = /percorso
public = YES
writable = YES
browseable = YES
create mask = 0600
directory mask = 0700
guest ok = yes
guest only = yes
read only = no
Come si vede dalla configurazione, essendo il server in ascolto sulla scheda di rete solo sulla lan il server samba
accetta senza dover login ecc ecc.
Seguendo i vostri consigli ho messo il server samba WINS support = yes
impostato in tutti i client wins con ip del server ubuntu,
spento e riacceso tutti i pc tranne il server,
ma nulla, da rete non vedo il client server, ma solo i client.
se vado manualmente //ipserver allora si collega ecc ecc..
ma e' assurdo, come mai non funziona ancora?