[Samba] samba users at boot, the same local and samba user bug has gone
Michael Tokarev
mjt at tls.msk.ru
Sun May 14 16:29:39 UTC 2023
Hi!
We faced another issue with not having samba (ad-dc) users in local /etc/password:
this way, we can't easily have services run as users this way, since winbindd is
started later than most services are (and it requires working network). Also,
user-defined cron @reboot jobs aren't being run, for the same reason: cron is
stared before winbindd on most systems. This is quite difficult to change too,
since ordering is historic and other dependencies exists in-between.
Thankfully, the bug which existed in samba 4.16 where, in presence of the same
username in ad and in /etc/passwd, winbindd/smbd sometimes treated it as one and
sometimes as two different users with different SIDs, apparently has been fixed
in 4.17. So far, samba always treats this user as one single entity here, with
4.17 and 4.18, - unlike sporaric/unstable behavior we've seen in 4.16.
FWIW. And thank you for the bugfixing.
/mjt
More information about the samba
mailing list