[Samba] winbind: does it actually depend on nmbd? and network-online?

Michael Tokarev mjt at tls.msk.ru
Thu May 2 11:48:55 UTC 2024


02.05.2024 14:17, Rowland Penny via samba wrote:
> On Thu, 2 May 2024 13:44:47 +0300
> Michael Tokarev via samba <samba at lists.samba.org> wrote:
> 
>> Hi!
>>
>> In packaging/systemd/winbind.service, there's this ordering:
>>
>> After=network.target nmb.service
>>
>> Does winbind really need nmbd running?
> 
> Well, no and yes ;-)
> 
> No, if you are running Samba as an AD Unix domain member without SMBv1
> (in which case, you do not need nmbd at all), but if you are still
> running an NT4-style domain, then you need nmbd to provide NetBIOS
> Browsing.

Okay, I suspected it will be a bit more difficult.  Let's put it this
way: does winbind in non-AD environment really need NetBIOS Browsing to
work?  Or if it does, where the requirement is coming from?  Or maybe,
can it be avoided, like, by providing LMHOSTS entry?

Winbind being dependent on UDP-based, quite fragile, browsing sounds like
a good way to disaster.

And yes, I know full well that these days, nmbd and netbois aren't used.

Thanks,

/mjt

-- 
GPG Key transition (from rsa2048 to rsa4096) since 2024-04-24.
New key: rsa4096/61AD3D98ECDF2C8E  9D8B E14E 3F2A 9DD7 9199  28F1 61AD 3D98 ECDF 2C8E
Old key: rsa2048/457CE0A0804465C5  6EE1 95D1 886E 8FFB 810D  4324 457C E0A0 8044 65C5
Transition statement: http://www.corpit.ru/mjt/gpg-transition-2024.txt




More information about the samba mailing list