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

Andrew Bartlett abartlet at samba.org
Tue Aug 22 19:27:24 UTC 2017

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;
+	}

but I can't see where it is written.

I'm really sorry this has turned into such a saga!

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