Unable to connect to samba share with "force user = unix_user" [Solved]

Rowland Penny repenny241155 at gmail.com
Wed Oct 15 07:05:24 MDT 2014


On 15/10/14 13:57, Quentin Gibeaux wrote:
> On 15/10/2014 14:47, Rowland Penny wrote:
>> OK, this is what I expected, when you uncomment the 'force user' line 
>> you are trying to force the files to be owned by 'somename', this 
>> user is not in AD, hence this is why you are getting 
>> 'NT_STATUS_NO_SUCH_USER' . Either do not use the line or change 
>> 'somename' to an AD user. 
> In facts, i don't understand why it checks in the AD for the user with 
> 'somename' name.
> Anyway, if I try with "force user = root", where root is a unix only 
> user : it works, whereas root is not in AD (so should be NO_SUCH_USER, 
> right ?).
>

root is a special case, as far as I am aware it is hardcoded into samba. 
I would have thought that 'NO_SUCH_USER' on the end of the error message 
was pretty much to the point, samba **does not know who 'somename' is* *

Rowland



More information about the samba-technical mailing list