Notes

Samba 4 - Error / config changes

The following keywords should bring you here:

"gid_to_sid: winbind failed to find a sid for gid"
"for mask 0x2 returned (0x2)"
"NT_STATUS_OBJECT_NAME_NOT_FOUND"
"SMB_VFS_STAT"
"Security token: (NULL)"
"force user" "force group"
"check_parent_access: access check on directory . for path anything for mask 0x2 returned (0x2) NT_STATUS_ACCESS_DENIED"

In samba 4 the force user has to be listed in the valid user list and has to have an entry in the password database.
"valid users = root, foo, bar
has to include the user in
force user = root"

source: https://bbs.archlinux.org/viewtopic.php?id=161389&p=2