summaryrefslogtreecommitdiffstats
path: root/source/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
commit06a65972e872f37d88b84f22ea714feebd38f6c0 (patch)
treec32fff798861e2a92c1403b60a06dca102db1632 /source/script
parente28d01b744b3dbd33e0e54af4e7f426fa8c082b8 (diff)
downloadsamba-06a65972e872f37d88b84f22ea714feebd38f6c0.tar.gz
samba-06a65972e872f37d88b84f22ea714feebd38f6c0.tar.xz
samba-06a65972e872f37d88b84f22ea714feebd38f6c0.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.
Diffstat (limited to 'source/script')
-rw-r--r--source/script/mkproto.awk2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/script/mkproto.awk b/source/script/mkproto.awk
index 766b1f093bb..b36eaca33bb 100644
--- a/source/script/mkproto.awk
+++ b/source/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;
}