`allow trusted domains = no` and `Unix Users`

Andreas Schneider asn at redhat.com
Mon Sep 4 09:07:10 UTC 2023


I have a user who set `allow trusted domains = no` in his smb.conf. He also 
set `force user = localuser` on a share. However he is not able to connect to 
the local share:

[2023/07/27 12:31:43.434346,  3, pid=1019460, effective(0, 0), real(0, 0)] 
  is_allowed_domain: Not trusted domain 'UNIX USER'
[2023/07/27 12:31:43.434350,  3, pid=1019460, effective(0, 0), real(0, 0), 
class=auth] ../../source3/auth/auth_util.c:492(create_local_token)
  create_local_token: Authentication failed for user [cortexuser] from 
firewalled domain [UNIX USER]

The change was introduced by df5fe2d835169161d3930acf1e9c750dd2bc64b6

Is it by intention that local unix users fall into the "trusted domain" 
category or is this a bug?

Best regards


More information about the samba-technical mailing list