[PR PATCH] [Closed]: s3:lib/messages: Don't call sec_init() too late

github at samba.org github at samba.org
Thu Apr 5 10:39:18 UTC 2018


There's a closed pull request on the Samba Samba Github repository

s3:lib/messages: Don't call sec_init() too late
https://github.com/samba-team/samba/pull/83
Description: Ensure that `sec_initial_uid()` returns the correct value by calling `sec_init()` first.  Without this change, the `sec_initial_uid()` calls in question would always return 0, so things go wrong when the initial UID isn't 0:

    $ smbcontrol smbd reload-config
    could not init messaging context


More information about the samba-technical mailing list