Scusa avevi ragione!adesso funge! pero' ho un'altra domanda!
Adesso la directory viene vista, montata ad avvio pc e posso leggere e scrivere tranquillamente! pero ho notato una cosa che se accedo come altro utente posso tranquillamente leggere e scrivere nella directory e non vorrei permeterlo!
[global]
log file = /var/log/samba-log.%m
security=user
workgroup= WORKGROUP
load printers= yes
printcap name = cups
printing = cups
server string = Matteo Samba Network
interfaces = 192.168.2.3/24
interfaces = 192.168.5.2/24
encrypt passwords = yes
username map = /etc/samba/private/smbusers
smb passwd file = /etc/samba/private/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
domain logons= yes
dns proxy= no
[homes]
comment = Directory Personali
browseable = no
read only = no
create mode = 0750
[hdesktop]
comment =film
path =/mnt/fdati/scar
browseable= yes
force user= matteo
read only = no
public = yes
writable = yes
create mode = 0750
ho notato una cosa, se faccio smbclient -Lnomepc mi chiede la password se la inserisco si vede la home sul pc remoto
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c]
Sharename Type Comment
--------- ---- -------
hp_1018 Printer Stampante di rete hp_1018
hdesktop Disk film
tmp Disk Spazio per file temporanei.
IPC$ IPC IPC Service (Matteo Samba Network)
matteo Disk Directory Personali
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c]
Server Comment
--------- -------
DESKTOP Matteo Samba Network
Workgroup Master
--------- -------
MYGROUP NOTEBOOK
WORKGROUP DESKTOP
invece se non metto la password
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c]
Sharename Type Comment
--------- ---- -------
hp_1018 Printer Stampante di rete hp_1018
hdesktop Disk film
tmp Disk Spazio per file temporanei.
IPC$ IPC IPC Service (Matteo Samba Network)
Anonymous login successful
Domain=[WORKGROUP] OS=[Unix] Server=[Samba 3.0.23c]
Server Comment
--------- -------
DESKTOP Matteo Samba Network
Workgroup Master
--------- -------
MYGROUP NOTEBOOK
WORKGROUP DESKTOP
entro come anonimo giusto??
La mia domanda: e' possibile fare la stessa cosa di homes su hdesktop ?? cioe' se inserisco la password esatta la vedo altrimenti no??
Mentre sto scrivendo mi e' sorto un altro dubbio, forse il problema e' a monte ossia ad avvio della macchina client
monto automaticamente la dir condivisa!
\\desktop\hdesktop /mnt/hd smbfs defaults,uid=matteo,password="password" 0 0
grazie!spero di essermi spiegato bene
P.S
Scusa sacarade avevi ragione te!