Changeset 988 for vendor/current/librpc/idl/auth.idl
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/librpc/idl/auth.idl
r740 r988 2 2 3 3 /* 4 security IDL structures 4 Authentication IDL structures 5 6 These are NOT public network structures, but it is helpful to define 7 these things in IDL. They may change without ABI breakage or 8 warning. 9 5 10 */ 6 11 7 12 import "misc.idl", "security.idl", "lsa.idl", "krb5pac.idl"; 13 [ 14 pyhelper("librpc/ndr/py_auth.c"), 15 helper("../librpc/ndr/ndr_auth.h"), 16 helpstring("internal Samba authentication structures") 17 ] 8 18 9 19 interface auth … … 18 28 * during local privilage and group manipulations */ 19 29 typedef [public] struct { 20 utf8stringaccount_name;21 utf8stringdomain_name;30 [unique,charset(UTF8),string] char *account_name; 31 [unique,charset(UTF8),string] char *domain_name; 22 32 23 utf8stringfull_name;24 utf8stringlogon_script;25 utf8stringprofile_path;26 utf8stringhome_directory;27 utf8stringhome_drive;28 utf8stringlogon_server;33 [unique,charset(UTF8),string] char *full_name; 34 [unique,charset(UTF8),string] char *logon_script; 35 [unique,charset(UTF8),string] char *profile_path; 36 [unique,charset(UTF8),string] char *home_directory; 37 [unique,charset(UTF8),string] char *home_drive; 38 [unique,charset(UTF8),string] char *logon_server; 29 39 30 40 NTTIME last_logon; … … 48 58 uint32 num_dc_sids; 49 59 [size_is(num_dc_sids)] dom_sid dc_sids[*]; 50 PAC_SIGNATURE_DATA *pac_srv_sig;51 PAC_SIGNATURE_DATA *pac_kdc_sig;52 60 } auth_user_info_torture; 53 61 54 62 typedef [public] struct { 55 utf8stringunix_name;63 [unique,charset(UTF8),string] char *unix_name; 56 64 57 65 /* … … 62 70 * smb request. See set_current_user_info in source3. 63 71 */ 64 utf8stringsanitized_username;72 [unique,charset(UTF8),string] char *sanitized_username; 65 73 } auth_user_info_unix; 66 74 … … 71 79 [size_is(num_sids)] dom_sid sids[*]; 72 80 auth_user_info *info; 73 DATA_BLOB user_session_key;74 DATA_BLOB lm_session_key;81 [noprint] DATA_BLOB user_session_key; 82 [noprint] DATA_BLOB lm_session_key; 75 83 } auth_user_info_dc; 76 84 … … 80 88 auth_user_info *info; 81 89 auth_user_info_unix *unix_info; 82 DATA_BLOB session_key; 83 DATA_BLOB exported_gssapi_credentials; 90 [value(NULL), ignore] auth_user_info_torture *torture; 91 92 /* This is the final session key, as used by SMB signing, and 93 * (truncated to 16 bytes) encryption on the SAMR and LSA pipes 94 * when over ncacn_np. 95 * It is calculated by NTLMSSP from the session key in the info3, 96 * and is set from the Kerberos session key using 97 * krb5_auth_con_getremotesubkey(). 98 * 99 * Bottom line, it is not the same as the session keys in info3. 100 */ 101 102 [noprint] DATA_BLOB session_key; 103 104 [value(NULL), ignore] cli_credentials *credentials; 105 } auth_session_info; 106 107 typedef [public] struct { 108 auth_session_info *session_info; 109 [noprint] DATA_BLOB exported_gssapi_credentials; 84 110 } auth_session_info_transport; 85 111 }
Note:
See TracChangeset
for help on using the changeset viewer.