[Samba] Connection to failed

Reinhard Hnat listen at singsang.at
Sat May 19 05:43:54 GMT 2007


I have a problem connecting to samba (3.0.24):

localhost ~ # smbclient -L desktop -U rh
Password:
Domain=[DESKTOP] OS=[Unix] Server=[Samba 3.0.24]

        Sharename       Type      Comment
        ---------       ----      -------
        homes           Disk      Home Directories
        data            Disk      Daten
        SuSE            Disk      SuSE Disk
        IPC$            IPC       IPC Service (Desktop (Samba Server
3.0.24))
        OJ6110          Printer   HP Officejet 6110
        rh              Disk      Home Directories
Domain=[DESKTOP] OS=[Unix] Server=[Samba 3.0.24]

        Server               Comment
        ---------            -------

        Workgroup            Master
        ---------            -------
        WORKGROUP            DESKTOP
shows the shares i have created.

But if i want to connect with smbclient the following happens:

localhost ~ # smbclient //Desktop/rh
Password:
Domain=[DESKTOP] OS=[Unix] Server=[Samba 3.0.24]
Connection to  failed



'rh' is a valid user to linux (gentoo) and i have added 'rh' to
smbpasswd. 

This is my smb.conf

------------------------
# smb.conf is the main  Samba configuration file.


[global]
debug level = 0
server string = Desktop (Samba Server %v)
netbios name = DESKTOP
guest account = root
encrypt passwords = yes
security = user
directory mask = 0777
create mask = 0777
force directory mode = 777
dos filetimes = true
os level = 65
time server = yes
map to guest= Bad User

printcap name = cups
use client driver = yes

show add printer wizard = yes
cups options = raw
username map = /etc/samba/smbusers
name resolve order = wins host bcast

socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8760 
interfaces = 192.168.178.21/24

bind interfaces only = yes
log file = /var/log/samba/log.%m
max log size = 100
log level = 0
guest ok = yes

passdb backend = smbpasswd
wins support = yes
domain master = yes
preferred master = yes

winbind uid = 10000-20000
winbind gid = 10000-20000
veto oplock files = /*.mdb/*.ldb/*.MDB/*.LDB/

getwd cache = yes
restrict anonymous = no
max protocol = smb2
acl compatibility = winnt

server signing = Auto

[homes]
comment = Home Directories
browseable = yes
read only = no
#inherit permissions = yes
guest ok = yes
dos filetimes = yes
case sensitive = no
strict locking = no
msdfs proxy = no
wide links=yes
user=rh

[printers]
comment = All Printers
path = /tmp/spool
printable = yes
create mask = 0600
browseable = yes
read only = no
guest ok = yes


[SuSE]
comment = SuSE Disk
path = /mnt/SuSE
read only = no
guest ok = yes
create mask = 777
dos filetimes = yes
case sensitive = no
strict locking = no
msdfs proxy = no
user=rh
---------------


On my Windows notebook (Windows Vista Home Premium 6.0) i try to 
net use x: \\Desktop\rh
and get s a systemerror 67
networkname not found

Has anyone an idea what goes wrong?
Thanks in advance



More information about the samba mailing list