From 15ee7961ef9422ba8b73f87784bda2c286afa87d Mon Sep 17 00:00:00 2001 From: Steve French Date: Tue, 6 Feb 2007 23:25:02 +0000 Subject: r21204: Add define for new QFS Info for "who am i" (This used to be commit 739a608eadd9448791366f26b42b06d38d77e037) --- source3/include/trans2.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) 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. */ -- cgit