[Samba] Samba working (has been for years) but logs full of NT_STATUS_ACCESS_DENIED
Marc Muehlfeld
mmuehlfeld at samba.org
Tue Mar 17 00:43:17 MDT 2015
Hello Jobst,
Am 17.03.2015 um 06:18 schrieb Jobst Schmalenbach:
> I see this:
>
> guest user (from session setup) not permitted to access this share (TestPrograms)
> [2015/03/17 16:00:58.165672, 1] smbd/service.c:805(make_connection_snum)
> create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
>
> ...
>
> [TestPrograms]
> ....
> guest ok = no
Seems to be correct, that Samba denies access to this share.
> and this:
>
> [2015/03/17 16:01:08.967945, 2] smbd/close.c:696(close_normal_file)
> rebecca closed file samba-homeshare/Google/Chrome/Default/TransportSecurity~RF181a7c8.TMP (numopen=294) NT_STATUS_OK
> [2015/03/17 16:01:09.056686, 2] smbd/service.c:616(create_connection_session_info)
> guest user (from session setup) not permitted to access this share (rebecca)
> [2015/03/17 16:01:09.056773, 1] smbd/service.c:805(make_connection_snum)
> create_connection_session_info failed: NT_STATUS_ACCESS_DENIED
>
> ...
>
> [homes]
> comment = Home Directories
> ...
> guest ok = no
Same here.
> I have no idea why the guest user "needs" access because I (at least
> I thought) instructed not to, TestPrograms is an existing share and
> rebecca is one of our users.
Sure that not someone else tries to access as guest? User "rebecca"
closes a file in the log. So usermapping seems to work - at least for
this account. And then a guest user tries to access, what is denied.
* What kind of server is it? Member/DC/PDC
* Can you show your full smb.conf? There are some more interesting
parameters and with your snipped I can't say if it's missing (default
settings) or something is wrong configured.
* Do any users are having problems accessing shares? Or did you just saw
some "guest denied" messages in your logs?
Regards,
Marc
More information about the samba
mailing list