Ignore:
Timestamp:
Nov 24, 2016, 1:14:11 PM (9 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to version 4.4.3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • vendor/current/librpc/idl/auth.idl

    r740 r988  
    22
    33/*
    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
    510*/
    611
    712import "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]
    818
    919interface auth
     
    1828         * during local privilage and group manipulations */
    1929        typedef [public] struct {
    20                 utf8string account_name;
    21                 utf8string domain_name;
     30                [unique,charset(UTF8),string] char *account_name;
     31                [unique,charset(UTF8),string] char *domain_name;
    2232
    23                 utf8string full_name;
    24                 utf8string logon_script;
    25                 utf8string profile_path;
    26                 utf8string home_directory;
    27                 utf8string home_drive;
    28                 utf8string logon_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;
    2939
    3040                NTTIME last_logon;
     
    4858                uint32 num_dc_sids;
    4959                [size_is(num_dc_sids)] dom_sid dc_sids[*];
    50                 PAC_SIGNATURE_DATA *pac_srv_sig;
    51                 PAC_SIGNATURE_DATA *pac_kdc_sig;
    5260        } auth_user_info_torture;
    5361
    5462        typedef [public] struct {
    55                 utf8string unix_name;
     63                [unique,charset(UTF8),string] char *unix_name;
    5664
    5765                /*
     
    6270                 * smb request. See set_current_user_info in source3.
    6371                 */
    64                 utf8string sanitized_username;
     72                [unique,charset(UTF8),string] char *sanitized_username;
    6573        } auth_user_info_unix;
    6674
     
    7179                [size_is(num_sids)] dom_sid sids[*];
    7280                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;
    7583        } auth_user_info_dc;
    7684
     
    8088                auth_user_info *info;
    8189                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;
    84110        } auth_session_info_transport;
    85111}
Note: See TracChangeset for help on using the changeset viewer.