RFC: patch for parse_domain_user (with winbind use default domain)

Noel Power nopower at suse.com
Tue Sep 20 15:03:45 UTC 2016


And this time with a patch

On 20/09/16 13:24, Noel Power wrote:
> Hi,
> We have a customer reporting problems with getent and ssh using the
> username at domain.com format for user names when 'winbind use default
> domain = yes' is enabled.
>
> For example the commands
>
>    getent passwd user at domain.com
>    ssh -o user=user at domain.com localhost
>
> will succeed if the 'winbind use default domain' setting is omitted or
> set to no, the same commands fail if
> 'winbind use default domain' is enabled.
>
> The logic in 'parse_domain_user()' doesn't allow the user name format to
> override the assumed domain name. The attached patch fixes this please
> have a look
>
> thanks,
> Noel
>
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-s3-winbindd-using-default-domain-with-user-domain.do.patch
Type: application/mbox
Size: 1353 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160920/634cf674/0001-s3-winbindd-using-default-domain-with-user-domain.do.mbox>


More information about the samba-technical mailing list