Applies to: Samba 4.2.10 and up with adbindproxy 5.3.0.
Question: Would like to use the force user parameter in smb.conf but receiving the error message, "User name could not be found". How can this be fixed?
If the force user is a:
1) Local user:
The local user must not be an AD user. The local user must also be a valid user for the share.
2) AD user:
The AD user must be Zone Enabled
The AD users primary group must be Zone enabled.
These setting can be checked by using:
# adquery user <ADuser> -A
excerpt from smb.conf:
comment = test
valid users = centrifyimage.vms/testuser
path = /tmp/test
public = no
writeable = no
browseable = yes
guest ok = no
force user = centrifyimage.vms/testuser