[PATCH] Fix 'smbpasswd' as local user in domain member case

Andrew Bartlett abartlet at samba.org
Wed Aug 23 08:54:05 UTC 2017


On Wed, 2017-08-23 at 07:45 +0200, Andreas Schneider wrote:
> On Tuesday, 22 August 2017 21:27:24 CEST Andrew Bartlett wrote:
> > On Tue, 2017-08-22 at 16:04 +0200, Andreas Schneider via samba-
> > 
> > technical wrote:
> > > I've solved it diffently now. If the remote machine is not an IP address,
> > > we use it, else we use the domain part of the username if it has been
> > > specified.
> > 
> > That part looks good.  I'm confused by this part however:
> > 
> > You add
> > 
> > +static fstring domain_name;
> > 
> > and check
> > 
> > +	if (domain_name[0] != '\0') {
> > +		domain = domain_name;
> > +	}
> 
> Damn, I forgot to remove it :-)
> 
> Here is hopefully the last one ...

I think so.

Reviewed-by: Andrew Bartlett <abartlet at samba.org>

Please push!

> Thanks for your patience,

And you for yours.

Andrew Bartlett

-- 
Andrew Bartlett                       http://samba.org/~abartlet/
Authentication Developer, Samba Team  http://samba.org
Samba Developer, Catalyst IT          http://catalyst.net.nz/services/samba




More information about the samba-technical mailing list