This commit was manufactured by cvs2svn to create branch 'SAMBA_3_0'.(This used to...
[samba.git] / source3 / include / rpc_creds.h
index c389c64d1d7e058b5870ae5561d04274ef904bc9..3022b172899adb9615c5b5f1b068b2eac701029b 100644 (file)
@@ -1,6 +1,5 @@
 /* 
-   Unix SMB/Netbios implementation.
-   Version 1.9.
+   Unix SMB/CIFS implementation.
    SMB parameters and setup
    Copyright (C) Andrew Tridgell 1992-1999
    Copyright (C) Luke Kenneth Casson Leighton 1996-1999
@@ -20,6 +19,7 @@
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
+
 #ifndef _RPC_CREDS_H /* _RPC_CREDS_H */
 #define _RPC_CREDS_H 
 
@@ -53,7 +53,7 @@ typedef struct unixsec_creds
 
 typedef struct ntsec_creds
 {
-       DOM_SID      sid;
+       DOM_SID sid;
        uint32 num_grps;
        uint32 *grp_rids;
 
@@ -62,10 +62,12 @@ typedef struct ntsec_creds
 typedef struct user_creds
 {
        BOOL reuse;
+
        uint32 ptr_ntc;
        uint32 ptr_uxc;
        uint32 ptr_nts;
        uint32 ptr_uxs;
+       uint32 ptr_ssk;
 
        CREDS_NT   ntc;
        CREDS_UNIX uxc;
@@ -73,6 +75,7 @@ typedef struct user_creds
        CREDS_NT_SEC   nts;
        CREDS_UNIX_SEC uxs;
 
+       uchar usr_sess_key[16];
 
 } CREDS_HYBRID;
 
@@ -80,6 +83,7 @@ typedef struct cred_command
 {
        uint16 version;
        uint16 command;
+       uint32 pid; /* unique process id */
 
        fstring name;
 
@@ -87,6 +91,6 @@ typedef struct cred_command
        CREDS_HYBRID *cred;
 
 } CREDS_CMD;
-       
+
 #endif /* _RPC_CREDS_H */