28 September,16 at 11:10 PM
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?
Answer:
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:
[result]
comment = test
valid users = centrifyimage.vms/testuser
path = /tmp/test
public = no
writeable = no
browseable = yes
guest ok = no
force user = centrifyimage.vms/testuser