diff options
author | Jeremy Allison <jra@samba.org> | 2013-06-17 17:02:56 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2013-06-18 04:31:27 +0200 |
commit | 5c4772ec1d562a4547391e1dd4956c43e3d635a7 (patch) | |
tree | 5f766eb15706417db5a2e2c608fecefa9932ced7 /source4/rpc_server/samr/samr_password.c | |
parent | fcc43cfbe34f3e8039c5e1364fc327f3d7b88b12 (diff) | |
download | samba-5c4772ec1d562a4547391e1dd4956c43e3d635a7.tar.gz samba-5c4772ec1d562a4547391e1dd4956c43e3d635a7.tar.bz2 samba-5c4772ec1d562a4547391e1dd4956c43e3d635a7.zip |
Re-add umask(0) code removed by commit 3a7c2777ee0de37d758fe81d67d6836a8354825e
Without the umask code the pipe permissions are affected by the
umask of the calling process. As only smbd currently sets its
umask to zero (nmbd and winbindd should do the same) this causes
the winbindd pipe to be unavailable to the nss library code unless
winbindd is run from an init process that explicitly sets umask
to zero. When testing from the command line this can be hard to
track down :-).
Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ira Cooper <ira@samba.org>
Autobuild-User(master): Jeremy Allison <jra@samba.org>
Autobuild-Date(master): Tue Jun 18 04:31:27 CEST 2013 on sn-devel-104
Diffstat (limited to 'source4/rpc_server/samr/samr_password.c')
0 files changed, 0 insertions, 0 deletions