[Samba] winbind use default domain problem after upgrade

Rowland penny rpenny at samba.org
Thu Mar 4 15:08:43 UTC 2021


On 04/03/2021 13:56, Perttu Aaltonen via samba wrote:
>
>> On 3 Mar 2021, at 18.49, Rowland penny via samba <samba at lists.samba.org> wrote:
>>
>> On 03/03/2021 16:10, Perttu Aaltonen via samba wrote:
>>> After upgrading a file server from Ubuntu 19.10 with Samba 4.10.5 to Ubuntu 20.04 with Samba 4.13.2, "winbind use default domain” doesn’t seem to work anymore.
>>>
>>> I went through the release notes in between but nothing stood out for me that would require a configuration change.
>>>
>>> Before the upgrade:
>>> [2021/02/23 20:05:31.553745,  3] ../../auth/auth_log.c:629(log_authentication_event_human_readable)
>>>    Auth: [SMB,(null)] user []\[user] at [Tue, 23 Feb 2021 20:05:31.553731 EET] with [NTLMv1] status [NT_STATUS_OK] workstation [192.168.0.11] remote host [ipv4:192.168.0.11:53784] became [DOMAIN]\[user] [SID redacted]. local host [ipv4:192.168.0.10:445]
>>>
>>> After the upgrade:
>>> [2021/02/23 20:19:04.581131,  2] ../../auth/auth_log.c:635(log_authentication_event_human_readable)
>>>    Auth: [SMB,(null)] user []\[user] at [Tue, 23 Feb 2021 20:19:04.581108 EET] with [NTLMv1] status [NT_STATUS_NO_SUCH_USER] workstation [192.168.0.11] remote host [ipv4:192.168.0.11:49792] mapped to []\[user]. local host [ipv4:192.168.0.12:445]
>>>
>>> Do I need to change something in the configuration or have I hit some kind of bug?
>>>
>>> Thanks!
>>
>> Strange, it works for myself (not that it helps you)
>>
>> Can you give us a bit more info, What is the AD DC ?
>>
>> Why are you still using SMBv1 ?
>>
>> Please post your smb.conf
>>
>> Rowland
> Hi Rowland,
>
> The DC is still an old Samba 4.1.9 in Debian 7. We are waiting for either a decision to upgrade it or move to a cloud DC, in which case we will just decommission it. Has been working fine though up until now. It’s just a user directory, nothing fancy like GPO.
>
> SMBv1 is for certain legacy clients, like the Supermicro IPMI virtual media where I ran into this problem in the first place. I asked Supermicro support if they have any fixes for this in newer firmware releases, but they just replied that it’s not tested or supported with Samba. Their web UI doesn’t even allow the \ character so it’s not possible to include the domain in the user name.


You can change the winbind separator.

>
> The config is below. Some of it is from a previous admin so might include redundant or unnecessary options for current releases.


The only setting I would query is this:

unix password sync = yes

Not sure why you have this, you shouldn't have users in AD and 
/etc/passwd. If you do have users in both places, then this may be your 
problem.

Rowland





More information about the samba mailing list