summaryrefslogtreecommitdiff
path: root/source3/script
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-08-04 00:59:09 +0000
committerJeremy Allison <jra@samba.org>2000-08-04 00:59:09 +0000
commit06e4f11acd3aedd6c8e4adf365932a01eca902b8 (patch)
tree07a8837ca9915b56fa0829a537f1e8a68f4e5a0c /source3/script
parentf87399915b009f88c41cb75a583c2972fe3daf30 (diff)
downloadsamba-06e4f11acd3aedd6c8e4adf365932a01eca902b8.tar.gz
samba-06e4f11acd3aedd6c8e4adf365932a01eca902b8.tar.bz2
samba-06e4f11acd3aedd6c8e4adf365932a01eca902b8.zip
Fixed up the user/group contexts when using authenticated pipes.
Added a become_root()/unbecome_root() (push/pop security context) around the initgroups() call to ensure it would succeed. Hmmm - I wonder if this call being done as non-root might explain any "group access" bugs we've had in the past.... Jeremy. (This used to be commit 06a65972e872f37d88b84f22ea714feebd38f6c0)
Diffstat (limited to 'source3/script')
-rw-r--r--source3/script/mkproto.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/script/mkproto.awk b/source3/script/mkproto.awk
index 766b1f093b..b36eaca33b 100644
--- a/source3/script/mkproto.awk
+++ b/source3/script/mkproto.awk
@@ -112,7 +112,7 @@ END {
gotstart = 1;
}
- if( $0 ~ /^TDB_CONTEXT|^TDB_DATA|^smb_ucs2_t|^TALLOC_CTX|^hash_element|^NT_DEVICEMODE|^enum nss_status/ ) {
+ if( $0 ~ /^TDB_CONTEXT|^TDB_DATA|^smb_ucs2_t|^TALLOC_CTX|^hash_element|^NT_DEVICEMODE|^enum nss_status|^NT_USER_TOKEN/ ) {
gotstart = 1;
}