[Samba] Security = Server and guest ok

Tapia, Felipe ftapia at harris.com
Mon Feb 27 18:12:05 GMT 2006


Is it possible to have guest ok shares with Security = Server?

I have "map to guest" = "Bad Password" in Globals and "guest ok" = "Yes"
for my share. The user is "nobody" on a solaris box.

Setting debug to level 2 I get this output on connections (using tail on
the log file)
[2006/02/27 09:23:22, 1] auth/auth_server.c:(363)
  password server 1xx.2xx.3xx.4xx rejected the password
[2006/02/27 09:23:22, 2] auth/auth.c:(317)
  check_ntlm_password:  Authentication for user [0aadm1n] -> [0aadm1n]
FAILED with error NT_STATUS_LOGON_FAILURE
[2006/02/27 09:23:31, 2] smbd/server.c:(612)
  Closing connections

I don't see it rolling over to the nobody user. In reading the manuals I
saw that it's using the User security model in which it can only make a
user/passwd decision and allow or reject. Have I read this properly or
is this still possible with another configuration?

Yes, I know Server is not the recommended way to go. I don't have the
choice right now and I need to get something working fairly quickly.

Any suggestions would be appreciated.






More information about the samba mailing list