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

Bug 107606

Summary: samba 3.0.20 'map to guest = Bad User' seems not to work anymore
Product: Gentoo Linux Reporter: barthek <gejzer>
Component: New packagesAssignee: Gentoo's SAMBA Team <samba>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: 2005.0   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 107939    
Bug Blocks:    

Description barthek 2005-09-29 07:56:57 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
error NT_STATUS_NO_LOGON_SERVERS
[2005/09/22 11:28:49, 2] smbd/server.c:exit_server(608)
  Closing connections

here is relevant section of my smb.conf:
[global]
        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

[samba]
        comment = samba mia
        path = /lvm/samba
        admin users = doli
        read only = No
        guest ok = Yes
Comment 1 barthek 2005-10-04 04:39:43 UTC
samba 3.0.20a solves the issue.

i recommend putting new version into the portage tree if its not already done.
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2005-10-04 04:48:39 UTC
Please, don't resolve bugs that are not yet resolved in portage
Comment 3 Christian Andreetta (RETIRED) gentoo-dev 2005-10-06 07:56:26 UTC
3.0.20a in portage. thanks