Newsgroup: it.comp.os.linux.iniziare
Titolo: Samba client problemi

Spero che qualcuno possa aiutarmi, cerco di accedere con linux su un server
win 2003 che ha condiviso c:\ (da un client winxp entro tranquillamente)
L'errore che ottengo è il seguente:
[root@ibook bin]# ./smbclient //WS-SERVER/c/ -U administrator
Password:
tree connect failed: NT_STATUS_BAD_NETWORK_NAME
Questo è il mio smb.conf:
[global]
workgroup = WS
server string = Samba Server
netbios name = IBOOK
security = share
hosts allow = 192.168.157. 192.168.2. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
; guest account = pcguest
log file = /var/log/samba/%m.log
max log size = 0
; password server = <NT-Server-Name>
; password level = 8
; username level = 8
encrypt passwords = no
smb passwd file = /etc/samba/smbpasswd
; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n
*passwd:*all*authentication*tokens*updated*successfully*
obey pam restrictions = yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
; interfaces = 
192.168.12.2/24
 
192.168.13.2/24
; remote browse sync = 192.168.3.25 192.168.5.255
; remote announce = 192.168.1.255 192.168.2.44
; local master = no
; os level = 33
; domain master = yes
; preferred master = yes
; domain logons = yes
; logon script = %m.bat
; logon script = %U.bat
; logon path = \\%L\Profiles\%U
; wins support = yes
; wins server = w.x.y.z
; wins proxy = yes
dns proxy = no
; preserve case = no
; short preserve case = no
; default case = lower
; case sensitive = no
[homes]
comment = Home Directories
browseable = no
writable = yes
create mode = 0664
directory mode = 0775
; map to guest = bad user
; [netlogon]
; comment = Network Logon Service
; path = /usr/local/samba/lib/netlogon
; guest ok = yes
; writable = no
; share modes = no
;[Profiles]
; path = /usr/local/samba/profiles
; browseable = no
; guest ok = yes
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
;[public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = @staff
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /home/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
;[fredsdir]
; comment = Fred's Service
; path = /usr/somewhere/private
; valid users = fred
; public = no
; writable = yes
; printable = no
;[pchome]
; comment = PC Directories
; path = /usr/local/pc/%m
; public = no
; writable = yes
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
;[myshare]
; comment = Mary's and Fred's stuff
; path = /usr/somewhere/shared
; valid users = mary fred
; public = no
; writable = yes
; printable = no
; create mask = 0765

Ho fatto una prova con konqueror e lui entra tranquillamente chiedendomi
login e password, perchè da shell non va?
Questo è quello che ottengo con lìopione -L:
[root@ibook bin]# ./smbclient -L 192.168.157.1 -U administrator
Password:
        Sharename      Type      Comment
        ---------      ----      -------
        IPC$           IPC       IPC remoto
        c              Disk      raid1_server
        ADMIN$         Disk      Amministrazione remota
        C$             Disk      Condivisione predefinita
session request to 192.168.157.1 failed (Called name not present)
session request to 192 failed (Called name not present)
        Server               Comment
        ---------            -------
        Workgroup            Master
        ---------            -------