summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSteve French <sfrench@samba.org>2007-02-06 23:25:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:47 -0500
commit15ee7961ef9422ba8b73f87784bda2c286afa87d (patch)
tree6be01dce53075d8d336160ed53e9fa059f014959 /source3
parent654c36e1877c5e88b20b7901f813370164036322 (diff)
downloadsamba-15ee7961ef9422ba8b73f87784bda2c286afa87d.tar.gz
samba-15ee7961ef9422ba8b73f87784bda2c286afa87d.tar.bz2
samba-15ee7961ef9422ba8b73f87784bda2c286afa87d.zip
r21204: Add define for new QFS Info for "who am i"
(This used to be commit 739a608eadd9448791366f26b42b06d38d77e037)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/trans2.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/source3/include/trans2.h b/source3/include/trans2.h
index 44e85d8489..5a3b25de4d 100644
--- a/source3/include/trans2.h
+++ b/source3/include/trans2.h
@@ -507,6 +507,21 @@ Offset Size Name
(NB statfs field flags can come from FILE_SYSTEM_DEVICE_INFO call)
*/
+#define SMB_QUERY_POSIX_WHO_AM_I 0x202 /* QFS Info */
+/* returns:
+ __u32 flags; 0 = Authenticated user 1 = GUEST
+ __u32 mask; which flags bits server understands ie 0x0001
+ __u64 unix_user_id;
+ __u64 unix_user_gid;
+ __u32 number_of_supplementary_gids; may be zero
+ __u32 number_of_sids; may be zero
+ __u32 length_of_sid_array; in bytes - may be zero
+ __u32 pad; reserved - MBZ
+ __u64 gid_array[0]; may be empty
+ __u8 * psid_list may be empty
+*/
+
+
/* ... more as we think of them :-). */
/* SMB POSIX ACL definitions. */