summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-07-28 22:42:39 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:24 -0500
commita093a76dc14303fd1c42fb2c0b87faf3748815e4 (patch)
tree6fbf13185fc81ebaa429e9e47a7724109b2f3983 /source3/nsswitch
parent321b0a3a63b40f779c71d476fdc5a840d2ced665 (diff)
downloadsamba-a093a76dc14303fd1c42fb2c0b87faf3748815e4.tar.gz
samba-a093a76dc14303fd1c42fb2c0b87faf3748815e4.tar.bz2
samba-a093a76dc14303fd1c42fb2c0b87faf3748815e4.zip
r17293: After the results from the cluster tests in Germany,
fix the messaging code to call the efficient calls : save_re_uid() set_effective_uid(0); messaging_op restore_re_uid(); instead of using heavyweight become_root()/unbecome_root() pairs around all messaging code. Fixup the messaging code to ensure sec_init() is called (only once) so that non-root processes still work when sending messages. This is a lighter weight solution to become_root()/unbecome_root() (which swaps all the supplemental groups) and should be more efficient. I will migrate all server code over to using this (a similar technique should be used in the passdb backend where needed). Jeremy. (This used to be commit 4ace291278d9a44f5c577bdd3b282c1231e543df)
Diffstat (limited to 'source3/nsswitch')
0 files changed, 0 insertions, 0 deletions