[Samba] interpret non-domain users as domain users?

Rowland Penny rpenny at samba.org
Thu May 2 07:48:05 UTC 2019


On Thu, 2 May 2019 14:05:12 +0800
d tbsky via samba <samba at lists.samba.org> wrote:

> > Dear list,
> >
> > when I connect to a samba AD member server from a windows 10 client
> > not joined to the domain, it appears that I always have to connect
> > as DOMAIN\USER. Is it possible to configure samba such that it
> > always interprets the USER part as being the account name of the
> > one domain that is configured, and to discard the DOMAIN part
> > supplied by the client? This may be a dumb question, but thanks for
> > any hints... Cheers,  
> 
> samba <= 4.6 will work. samba 4.7 should work in theory, but it
> didn't. there is workaround in the bugzilla, but I didn't try. I am
> afraid it will break anytime.
> maybe you can give it a try...
> 
> https://bugzilla.samba.org/show_bug.cgi?id=13543
> 

As Andrew has said, this will not work and why you would want this
escapes me ?

if it did work, you could end up with a user called 'fred' from
DOMAIN_A and a user called 'fred' from DOMAIN_B, so which user would be
the one used, the one from DOMAIN_A, or the one from DOMAIN_B, or both ?

Rowland



More information about the samba mailing list