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/netlogon.idl

    r740 r988  
    1111cpp_quote("#define netr_DeltaEnum8Bit netr_DeltaEnum")
    1212cpp_quote("#define netr_SamDatabaseID8Bit netr_SamDatabaseID")
     13
     14cpp_quote("#define ENC_CRC32 KERB_ENCTYPE_DES_CBC_CRC")
     15cpp_quote("#define ENC_RSA_MD5 KERB_ENCTYPE_DES_CBC_MD5")
     16cpp_quote("#define ENC_RC4_HMAC_MD5 KERB_ENCTYPE_RC4_HMAC_MD5")
     17cpp_quote("#define ENC_HMAC_SHA1_96_AES128 KERB_ENCTYPE_AES128_CTS_HMAC_SHA1_96")
     18cpp_quote("#define ENC_HMAC_SHA1_96_AES256 KERB_ENCTYPE_AES256_CTS_HMAC_SHA1_96")
    1319
    1420[
     
    208214
    209215        typedef struct {
    210                 NTTIME last_logon;
    211                 NTTIME last_logoff;
    212                 NTTIME acct_expiry;
     216                NTTIME logon_time;
     217                NTTIME logoff_time;
     218                NTTIME kickoff_time;
    213219                NTTIME last_password_change;
    214220                NTTIME allow_password_change;
     
    228234                netr_UserSessionKey key;
    229235                lsa_StringLarge logon_server;
    230                 lsa_StringLarge domain;
     236                lsa_StringLarge logon_domain;
    231237                dom_sid2 *domain_sid;
    232238                netr_LMSessionKey LMSessKey;
    233239                samr_AcctFlags acct_flags;
    234                 uint32 unknown[7];
     240                uint32 sub_auth_status;
     241                NTTIME last_successful_logon;
     242                NTTIME last_failed_logon;
     243                uint32 failed_logon_count;
     244                uint32 reserved;
    235245        } netr_SamBaseInfo;
    236246
     
    862872        } netr_NETLOGON_INFO_4;
    863873
    864         typedef union {
     874        typedef [public] union {
    865875                [case(1)]  netr_NETLOGON_INFO_1 *info1;
    866876                [case(2)]  netr_NETLOGON_INFO_2 *info2;
     
    871881
    872882        /* function_code values */
    873         typedef [v1_enum] enum {
     883        typedef [v1_enum,public] enum {
    874884                NETLOGON_CONTROL_QUERY                  = 0x00000001,
    875885                NETLOGON_CONTROL_REPLICATE              = 0x00000002,
     
    911921        /* Function 0x0E */
    912922
    913         typedef union {
     923        typedef [public,switch_type(netr_LogonControlCode)] union {
    914924                [case(NETLOGON_CONTROL_REDISCOVER)]        [string,charset(UTF16)] uint16 *domain;
    915925                [case(NETLOGON_CONTROL_TC_QUERY)]          [string,charset(UTF16)] uint16 *domain;
     
    11461156                DS_SERVER_SELECT_SECRET_DOMAIN_6 = 0x00000800,
    11471157                DS_SERVER_FULL_SECRET_DOMAIN_6   = 0x00001000,
     1158                DS_SERVER_WEBSERV                = 0x00002000,
     1159                DS_SERVER_DS_8                   = 0x00004000,
    11481160                DS_DNS_CONTROLLER                = 0x20000000,
    11491161                DS_DNS_DOMAIN                    = 0x40000000,
     
    13311343                lsa_String dummy_string4;
    13321344                netr_WorkstationFlags workstation_flags;
    1333                 uint32 dummy_long2;
     1345                kerb_EncTypes supported_enc_types;
    13341346                uint32 dummy_long3;
    13351347                uint32 dummy_long4;
     
    13761388        } netr_OneDomainInfo;
    13771389
    1378         typedef [public,bitmap32bit] bitmap {
    1379                 ENC_CRC32 = 0x00000001,
    1380                 ENC_RSA_MD5 = 0x00000002,
    1381                 ENC_RC4_HMAC_MD5 = 0x00000004,
    1382                 ENC_HMAC_SHA1_96_AES128  = 0x00000008,
    1383                 ENC_HMAC_SHA1_96_AES256  = 0x00000010
    1384         } netr_SupportedEncTypes;
    1385 
    13861390        typedef struct {
    13871391                netr_OneDomainInfo primary_domain;
     
    13941398                lsa_StringLarge dummy_string4;
    13951399                netr_WorkstationFlags workstation_flags;
    1396                 netr_SupportedEncTypes supported_enc_types;
     1400                kerb_EncTypes supported_enc_types;
    13971401                uint32 dummy_long3;
    13981402                uint32 dummy_long4;
     
    14451449        /****************/
    14461450        /* Function 0x1f */
    1447         WERROR netr_ServerPasswordGet(
     1451        NTSTATUS netr_ServerPasswordGet(
    14481452                [in,unique] [string,charset(UTF16)] uint16 *server_name,
    14491453                [in]  [string,charset(UTF16)] uint16 *account_name,
     
    14981502        /* Function 0x24 */
    14991503
    1500         typedef [v1_enum] enum {
    1501                 NETR_TRUST_TYPE_DOWNLEVEL       = 1,
    1502                 NETR_TRUST_TYPE_UPLEVEL         = 2,
    1503                 NETR_TRUST_TYPE_MIT             = 3,
    1504                 NETR_TRUST_TYPE_DCE             = 4
    1505         } netr_TrustType;
    1506 
    1507         typedef [bitmap32bit] bitmap {
    1508                 NETR_TRUST_ATTRIBUTE_NON_TRANSITIVE     = 0x00000001,
    1509                 NETR_TRUST_ATTRIBUTE_UPLEVEL_ONLY       = 0x00000002,
    1510                 NETR_TRUST_ATTRIBUTE_QUARANTINED_DOMAIN = 0x00000004,
    1511                 NETR_TRUST_ATTRIBUTE_FOREST_TRANSITIVE  = 0x00000008,
    1512                 NETR_TRUST_ATTRIBUTE_CROSS_ORGANIZATION = 0x00000010,
    1513                 NETR_TRUST_ATTRIBUTE_WITHIN_FOREST      = 0x00000020,
    1514                 NETR_TRUST_ATTRIBUTE_TREAT_AS_EXTERNAL  = 0x00000040
    1515         } netr_TrustAttributes;
    1516 
    15171504        typedef struct {
    15181505                [string,charset(UTF16)] uint16                  *netbios_name;
     
    15201507                netr_TrustFlags         trust_flags;
    15211508                uint32                  parent_index;
    1522                 netr_TrustType          trust_type;
    1523                 netr_TrustAttributes    trust_attributes;
     1509                lsa_TrustType           trust_type;
     1510                lsa_TrustAttributes     trust_attributes;
    15241511                dom_sid2                *sid;
    15251512                GUID                    guid;
     
    16061593                [in,ref] netr_Authenticator *credential,
    16071594                [out,ref] netr_Authenticator *return_authenticator,
    1608                 [out,ref] samr_Password *password,
    1609                 [out,ref] samr_Password *password2
     1595                [out,ref] samr_Password *new_owf_password,
     1596                [out,ref] samr_Password *old_owf_password
    16101597        );
    16111598
Note: See TracChangeset for help on using the changeset viewer.