Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 107605

Summary: 'map to guest = Bad User' seems not to work anymore
Product: Gentoo Linux Reporter: barthek <gejzer>
Component: New packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

Description barthek 2005-09-29 07:56:55 UTC
i have the option 'map to guest = Bad User' set in global options
and also 'guest ok = Yes' in one of the shares.

with samba 3.0.14 it works flawlesly,
when mounting such share i could give ambigious username
and password and get access.

now i get message 'there are currently no logon servers available to service the
logon request' and in samba log:

[2005/09/22 11:28:49, 2] auth/auth.c:check_ntlm_password(317)
  check_ntlm_password:  Authentication for user [qweqwe] -> [qweqwe] FAILED with
[2005/09/22 11:28:49, 2] smbd/server.c:exit_server(608)
  Closing connections

here is relevant section of my smb.conf:
        dos charset = 852
        unix charset = ISO8859-2
        display charset = ISO8859-2
        workgroup = PWDNT
        security = DOMAIN
        map to guest = Bad User
        password server = PWDNTPRIMARY
        username map = /etc/samba/smbusers
        client NTLMv2 auth = Yes
        client lanman auth = No
        client plaintext auth = No
        log level = 2
        log file = /var/log/samba/log.%m
        max log size = 50
        max open files = 1000
        socket options = TCP_NODELAY SO_RCVBUF=32768 SO_SNDBUF=32768
        load printers = No
        ldap ssl = no
        idmap uid = 45000-60000
        idmap gid = 45000-60000
        comment = Linux Samba server
        hosts allow = xxxxxxx
        case sensitive = No

        comment = samba mia
        path = /lvm/samba
        admin users = doli
        read only = No
        guest ok = Yes
Comment 1 barthek 2005-09-29 07:58:20 UTC
forgot to mention samba
reopened as bug #107606
Comment 2 barthek 2005-10-04 04:38:33 UTC
wrong summary