summaryrefslogtreecommitdiff
path: root/source3/include/smb.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-03-03 16:08:56 -0800
committerJeremy Allison <jra@samba.org>2009-03-03 16:08:56 -0800
commit35f4ea221e75ebb4101cbacc6bc24bd1a3604f0f (patch)
tree8e05a69ae8d2a4e306393eeb1e8501ba0c9c1614 /source3/include/smb.h
parent243d4e8a0846f9b873573ec504fb2f811be7d25c (diff)
downloadsamba-35f4ea221e75ebb4101cbacc6bc24bd1a3604f0f.tar.gz
samba-35f4ea221e75ebb4101cbacc6bc24bd1a3604f0f.tar.bz2
samba-35f4ea221e75ebb4101cbacc6bc24bd1a3604f0f.zip
Fix bug #6155 - "force group" is no longer working as expected.
We need to store the "force group" uid separately from the conn->server_info token as we need to apply it separately also. Volker PLEASE CHECK ! Jeremy.
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r--source3/include/smb.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h
index 59c3c32346..a0140fe081 100644
--- a/source3/include/smb.h
+++ b/source3/include/smb.h
@@ -573,6 +573,12 @@ typedef struct connection_struct {
*/
struct auth_serversupplied_info *server_info;
+ /*
+ * If the "force group" parameter is set, this is the primary gid that
+ * may be used in the users token, depending on the vuid using this tid.
+ */
+ gid_t force_group_gid;
+
char client_address[INET6_ADDRSTRLEN]; /* String version of client IP address. */
uint16 vuid; /* vuid of user who *opened* this connection, or UID_FIELD_INVALID */