Web lists-archives.com

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




2017-08-31 16:34 GMT+02:00 Rowland Penny via samba <samba@xxxxxxxxxxxxxxx>:

> On Thu, 31 Aug 2017 16:27:12 +0200
> mathias dufresne <infractory@xxxxxxxxx> 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
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba