i have the option 'map to guest = Bad User' set in global options and also 'guest ok = Yes' in one of the shares. before (i think it was samba 3.0.14?) it worked 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
This works fine against 3.0.21b. The NO_LOGON_SERVERS error is what is causing the guest mapping not to take place on your server. It has to be NO_SUCH_USER: check_ntlm_password: Authentication for user [Administrator] -> [Administrator] FAILED with error NT_STATUS_NO_SUCH_USER No such user Administrator [COLOR] - using guest account Pleas retest against 3.0.21b.
verified that the same setup does in fact work against 3.0.20b
everythings working fine now. thank you! :)