ciao a tutti, ho installato samba su debian seguendo questa guida alla lettera
http://guide.debianizzati.org/index....zione_di_Samba
codice:
robe@debian:~$ smbclient -L debian
Password:
Domain=[SAMBA] OS=[Unix] Server=[Samba 3.0.24]
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
Pubblica Disk Risorsa pubblica condivisa
IPC$ IPC IPC Service (debian server)
Domain=[SAMBA] OS=[Unix] Server=[Samba 3.0.24]
Server Comment
--------- -------
DEBIAN debian server
Workgroup Master
--------- -------
SAMBA
e lanciando testparm
codice:
debian:/# testparm /etc/samba/smb.conf
Load smb config files from /etc/samba/smb.conf
Processing section "[printers]"
Processing section "[print$]"
Processing section "[Pubblica]"
Loaded services file OK.
Server role: ROLE_STANDALONE
Press enter to see a dump of your service definition
il smb.conf che ho tirato fuori e' questo:
codice:
[global]
log file = /var/log/samba/log.%m
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n *Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
socket options = TCP_NODELAY
obey pam restrictions = yes
include = /etc/samba/dhcp.conf
encrypt passwords = true
passwd program = /usr/bin/passwd %u
passdb backend = tdbsam
dns proxy = no
server string = %h server
invalid users = root
path = /home/public
workgroup = samba
comment = hd_share
syslog = 0
panic action = /usr/share/samba/panic-action %d
max log size = 1000
security = share
[print$]
comment = Printer Drivers
path = /var/lib/samba/printers
browseable = yes
read only = yes
guest ok = no
[Pubblica]
writeable = yes
browseable = yes
path = /home/public
create mask = 0777
comment = Risorsa pubblica condivisa
directory mask = 0700
public = yes
quindi quello che mi aspetto e' che con smbclient, io riesca a connettermi a "debian" con l'utente guest senza dover inserire nessuna password, ma:
codice:
debian:/# smbclient //debian/Pubblica
Password:
Domain=[SAMBA] OS=[Unix] Server=[Samba 3.0.24]
Server not using user level security and no password supplied.
smb: \> ls
do_list: [\*] NT_STATUS_NETWORK_ACCESS_DENIED
Error in dskattr: NT_STATUS_NETWORK_ACCESS_DENIED
smb: \>
e' tutta sera che ci sbatto la testa, ho googolato e cercato anche in questo forum ma non riesco proprio a venirne fuori.
il mio regno per una soluzione!!!
grazie mille