[Samba] [samba] file server: %U or %u?
- Date: Thu, 31 Aug 2017 15:28:57 +0200
- From: mathias dufresne via samba <samba@xxxxxxxxxxxxxxx>
- Subject: [Samba] [samba] file server: %U or %u?
Here there are trust relationship between domains.
On some file server using Samba 4.4.4 (Centos 7) I must set up my shares
using %U. When using %u the directory which is accessed is
/path/to/share/OUR_DOMAIN\username rather than /path/to/share/username.
Initially I thought it could be solved by using:
winbind use default domain = yes
workgroup = OUR_DOMAIN
but that change only how users are generated by Winbind (or at least that's
how I feel it :)
And as smb.conf manpage tells:
session username (the username that the client wanted, not
necessarily the same as the one they got).
I feel like it could be nice (because perhaps more secure) to use %u...
To unsubscribe from this list go to the following URL and read the