Bug 13110 - nmbd assumes initial_uid/initial_gid during startup as 0
Summary: nmbd assumes initial_uid/initial_gid during startup as 0
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other (show other bugs)
Version: 4.6.8
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Samba QA Contact
Depends on:
Reported: 2017-10-30 06:24 UTC by Nagendra.V.S
Modified: 2017-10-30 06:24 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Nagendra.V.S 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.