[Samba] Problems with samba security=user

Anselmo Luginbühl anselmo.luginbuhl at gmail.com
Sat Nov 26 13:34:11 GMT 2005


I've some problem with the configuration of two samba server.
I've two PC, a laptot with debian etch samba 3.0.20b (PC2) wich with 
security=user always give me timeout, with security=share it works.

The second a little home server with debian sarge (stable) samba 3.0.14a that 
with security=user and map to guest = Bad User, always let mi to mount the 
shared resource (if the username and password are correct it accept the login 
as the user specified, in any other combination, good username:bad password 
ecc.., it map the client to the guest account)

The config file are exactly the same as described below.

why the two server doesn't have the same bheaviour?

-----------CONF FILE------------------
[global]
        case sensitive = yes
        default case = lower
        preserve case = yes
        short preserve case = yes
        client lanman auth = no
        client ntlmv2 auth = yes
        client plaintext auth = no
        lanman auth = no
        ntlm auth = yes
        csc policy = disable
        disable netbios = yes
        display charset = UTF8
        workgroup = universo
        server string = %h server [%i](Samba %v)
        guest account = nobody
        hide dot files = yes
        hide unreadable = yes
        inherit acls = yes
        inherit owner = yes
        inherit permissions = yes
        restrict anonymous = yes
        map to guest = Bad User
        log file = /var/log/samba/log.%m
        syslog = 3
        panic action = /usr/share/samba/panic-action %d
        security = user
        encrypt passwords = true
        invalid users = root
        load printers = no
        socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192


-----------DIFFERENCE BETWEEN SMB.CONF-----------
comm -3 smb.192.168.5.50 smb.192.168.5.1
        ;       inherit owner = yes
        inherit owner = yes

as the 3.0.14a-Debian doesn't recognize the inherit owner option

-----------FROM PC1(Samba 3.0.14a-Debian) to PC2(3.0.20b-Debian)------------
smbclient -L 192.168.5.50
Password:
session setup failed: Call timed out: server did not respond after 20000 
milliseconds


-----------FROM PC2(3.0.20b-Debian) to PC1(Samba 3.0.14a-Debian)------------
smbclient -L 192.168.5.1
Password:
Domain=[IOBAA] OS=[Unix] Server=[Samba 3.0.14a-Debian]

        Sharename       Type      Comment
        ---------       ----      -------
        IPC$            IPC       IPC Service (iobaa server [192.168.5.1]
(Samba 3.0.14a-Debian))
        ADMIN$          IPC       IPC Service (iobaa server [192.168.5.1]
(Samba 3.0.14a-Debian))
Domain=[IOBAA] OS=[Unix] Server=[Samba 3.0.14a-Debian]

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

        Workgroup            Master
        ---------            -------
        UNIVERSO             EUROPA
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.samba.org/archive/samba/attachments/20051126/a187b279/attachment.bin


More information about the samba mailing list