The Samba-Bugzilla – Bug 13110
nmbd assumes initial_uid/initial_gid during startup as 0
Last modified: 2017-10-30 06:24:32 UTC
nmbd when starting assumes that its initial uid/gid is zero. The global variables
initial_uid & initial_gid are always by default set to zero. While the normal users euid & egid are never zero.
Similar to smbd, nmbd should also call sec_init to ensure proper values are set at the start of the program.