Bug 13110 - nmbd assumes initial_uid/initial_gid during startup as 0
nmbd assumes initial_uid/initial_gid during startup as 0
Status: NEW
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Other
4.6.8
All All
: P5 normal
: ---
Assigned To: Andrew Bartlett
Samba QA Contact
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2017-10-30 06:24 UTC by Nagendra.V.S
Modified: 2017-10-30 06:24 UTC (History)
0 users

See Also:


Attachments

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.