Vorrei accedere ai file condivisi su un altro computer dove gira windows xp. Ho provato a configurare samba attraverso il tool di kde e poi da swat, ma nonostante questo non riesco a visualizzare le directory condivise sui computer con windows xp (ma riesco a fare l'inverso, ovvero di vedere le condivisioni di samba da windows perchè ho impostato l'utente con smbpasswd). Questo è il mio file di configurazione:
Codice: Seleziona tutto
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2008/09/02 23:48:49
[global]
workgroup = MSHOME
server string =
security = SHARE
null passwords = Yes
passdb backend = tdbsam
username map = /etc/samba/smbusers
syslog only = Yes
acl compatibility = win2k
announce version = 5.0
name resolve order = hosts wins bcast
server signing = auto
socket options = SO_KEEPALIVE TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192
printcap name = CUPS
preferred master = No
domain master = No
wins support = Yes
ldap ssl = no
printing = cups
print command =
lpq command = %p
lprm command =
[print$]
path = /var/lib/samba/printers
write list = root
create mask = 0664
directory mask = 0775
guest ok = Yes
[printers]
path = /tmp
guest ok = Yes
printable = Yes
browseable = No
[MyFiles]
path = /media/samba/
force user = PC1
force group = MSHOME
read only = No
create mask = 0644
mi dice:
Codice: Seleziona tutto
timeout connecting to 208.69.34.132:445
timeout connecting to 208.69.34.132:139
Error connecting to 208.69.34.132 (Operation already in progress)
Codice: Seleziona tutto
arny91@PC1:~$ smbclient -L 192.168.1.3
Password:
Domain=[PC2] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Sharename Type Comment
--------- ---- -------
IPC$ IPC IPC remoto
print$ Disk Driver della stampante
SharedDocs Disk
Stampante Printer Microsoft XPS Document Writer
Stampante2 Printer Microsoft Office Document Image Writer
ADMIN$ Disk Amministrazione remota
C$ Disk Condivisione predefinita
session request to 192.168.1.3 failed (Called name not present)
session request to 192 failed (Called name not present)
Domain=[PC2] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
Server Comment
--------- -------
Workgroup Master
--------- -------
Codice: Seleziona tutto
arny91@PC1:~$ LinNeighborhood
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
Client started (version 3.0.25b).
tdb(unnamed): tdb_open_ex: could not open file /var/cache/samba/gencache.tdb: Permission denied
resolve_hosts: Attempting host lookup for name PC2<0x20>
Connecting to 208.69.34.132 at port 445
timeout connecting to 208.69.34.132:445
timeout connecting to 208.69.34.132:445
Connecting to 208.69.34.132 at port 139
timeout connecting to 208.69.34.132:139
Error connecting to 208.69.34.132 (Operation already in progress)
timeout connecting to 208.69.34.132:139
Error connecting to 208.69.34.132 (Operation already in progress)
Codice: Seleziona tutto
root@PC1:/home/arny91# LinNeighborhood timeout connecting to 208.69.34.132:445
Connecting to 208.69.34.132 at port 139
Usage: [-?|--help] [--usage] [-B|--broadcast BROADCAST-ADDRESS] [-f|--flags]
[-U|--unicast STRING] [-M|--master-browser] [-R|--recursion]
[-S|--status] [-T|--translate] [-r|--root-port] [-A|--lookup-by-ip]
[-d|--debuglevel DEBUGLEVEL] [-s|--configfile CONFIGFILE]
[-l|--log-basename LOGFILEBASE] [-V|--version]
[-O|--socket-options SOCKETOPTIONS] [-n|--netbiosname NETBIOSNAME]
[-W|--workgroup WORKGROUP] [-i|--scope SCOPE] <NODE> ...
timeout connecting to 208.69.34.132:139
Error connecting to 208.69.34.132 (Operation already in progress)
lp_load: refreshing parameters
Initialising global parameters
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
added interface ip=192.168.1.2 bcast=192.168.1.255 nmask=255.255.255.0
Client started (version 3.0.25b).
Connecting to 192.168.1.3 at port 445
Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
dos_clean_name []
unix_clean_name []
cli_rpc_pipe_open: cli_nt_create failed on pipe \srvsvc to machine pc2. Error was NT_STATUS_ACCESS_DENIED
Connecting to 192.168.1.3 at port 139
Domain=[MSHOME] OS=[Windows 5.1] Server=[Windows 2000 LAN Manager]
dos_clean_name []
unix_clean_name []
Grazie



