[Samba] [samba] file server: %U or %u?

mathias dufresne
2017-08-31T14:44:56Z

2017-08-31 16:34 GMT+02:00 Rowland Penny via samba <samba at
lists.samba.org>:

> On Thu, 31 Aug 2017 16:27:12 +0200
> mathias dufresne <infractory at gmail.com> wrote:
>
> > PS: the short way to explain %u is adding domain/workgroup to
> > username is the fact we are using trust relationship?
> >
>
> Probably, what you have to get your head around is this:
>
> The users 'fred', 'DOMAINA\fred' and 'DOMAINB\fred'
are all different
> users. Winbind will report them as such.
>

I expect that using "winbind use default domain = yes" DOMAINA\fred
could
be same user as DOMAINB\fred as they both should be named "fred", they
both
should be the first "fred" of the list retrieved by "getent
passwd" when
enumeration is permitted.


>
> I will leave you to work something out from that ;-)
>
> Rowland
>
>
>
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>