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

Noel Power nopower at suse.com
Wed Sep 21 14:01:40 UTC 2016


And another version to fix the unnecessary hunk affecting the final
'else' branch. I intend to try and see if I can add some tests for this
too (but you may need to be patient 'till I figure out how to do that)

Noel
On 20/09/16 16:03, Noel Power wrote:
> 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.co.patch
Type: text/x-diff
Size: 1313 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20160921/4d93fc53/0001-s3-winbindd-using-default-domain-with-user-domain.co.diff>


More information about the samba-technical mailing list