svn commit: samba r21204 - in branches/SAMBA_3_0/source/include: .

sfrench at samba.org sfrench at samba.org
Tue Feb 6 23:25:03 GMT 2007


Author: sfrench
Date: 2007-02-06 23:25:02 +0000 (Tue, 06 Feb 2007)
New Revision: 21204

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=21204

Log:
Add define for new QFS Info for "who am i"

Modified:
   branches/SAMBA_3_0/source/include/trans2.h


Changeset:
Modified: branches/SAMBA_3_0/source/include/trans2.h
===================================================================
--- branches/SAMBA_3_0/source/include/trans2.h	2007-02-06 23:02:27 UTC (rev 21203)
+++ branches/SAMBA_3_0/source/include/trans2.h	2007-02-06 23:25:02 UTC (rev 21204)
@@ -507,6 +507,21 @@
    (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. */



More information about the samba-cvs mailing list