Ignore:
Timestamp:
Nov 14, 2012, 12:59:34 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: update vendor to 3.6.0

File:
1 edited

Legend:

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

    r414 r740  
    114114        /* Function: 0x06 */
    115115        typedef struct {
    116                 uint32  len; /* ignored */
     116                uint3264  len; /* ignored */
    117117                uint16  impersonation_level;
    118118                uint8   context_mode;
     
    121121
    122122        typedef struct {
    123                 uint32 len; /* ignored */
     123                uint3264 len; /* ignored */
    124124                uint8 *root_dir;
    125125                [string,charset(UTF16)] uint16 *object_name;
     
    520520
    521521        const int LSA_REF_DOMAIN_LIST_MULTIPLIER = 32;
    522         typedef struct {
     522        typedef [public] struct {
    523523                [range(0,1000)] uint32 count;
    524524                [size_is(count)] lsa_DomainInfo *domains;
     
    534534         */
    535535
    536         typedef enum {
     536        typedef [public] enum {
    537537                LSA_LOOKUP_NAMES_ALL = 1,
    538538                LSA_LOOKUP_NAMES_DOMAINS_ONLY = 2,
     
    564564        } lsa_TranslatedName;
    565565
    566         typedef struct {
     566        typedef [public] struct {
    567567                [range(0,20480)] uint32 count;
    568568                [size_is(count)] lsa_TranslatedName *names;
     
    640640        [todo] NTSTATUS lsa_SetQuotasForAccount();
    641641
    642         typedef [bitmap32bit] bitmap {
    643                 LSA_POLICY_MODE_INTERACTIVE             = 0x00000001,
    644                 LSA_POLICY_MODE_NETWORK                 = 0x00000002,
    645                 LSA_POLICY_MODE_BATCH                   = 0x00000004,
    646                 LSA_POLICY_MODE_SERVICE                 = 0x00000010,
    647                 LSA_POLICY_MODE_PROXY                   = 0x00000020,
    648                 LSA_POLICY_MODE_DENY_INTERACTIVE        = 0x00000040,
    649                 LSA_POLICY_MODE_DENY_NETWORK            = 0x00000080,
    650                 LSA_POLICY_MODE_DENY_BATCH              = 0x00000100,
    651                 LSA_POLICY_MODE_DENY_SERVICE            = 0x00000200,
    652                 LSA_POLICY_MODE_REMOTE_INTERACTIVE      = 0x00000400,
    653                 LSA_POLICY_MODE_DENY_REMOTE_INTERACTIVE = 0x00000800,
    654                 LSA_POLICY_MODE_ALL                     = 0x00000FF7,
    655                 LSA_POLICY_MODE_ALL_NT4                 = 0x00000037
    656         } lsa_SystemAccessModeFlags;
    657 
    658642        /* Function:    0x17 */
    659643        NTSTATUS lsa_GetSystemAccessAccount(
     
    677661
    678662        typedef [flag(NDR_PAHEX)] struct {
    679                 uint32 length;
    680                 uint32 size;
     663                uint3264 length;
     664                uint3264 size;
    681665                [size_is(size),length_is(length)] uint8 *data;
    682666        } lsa_DATA_BUF;
     
    771755        } lsa_TrustDomainInfoBuffer;
    772756
    773         typedef struct {
     757        typedef [public] struct {
    774758                uint32 incoming_count;
    775759                lsa_TrustDomainInfoBuffer *incoming_current_auth_info;
     
    10411025        /**********************/
    10421026        /* Function 0x31 */
    1043         NTSTATUS lsa_SetTrustedDomainInfoByName(
     1027        [public] NTSTATUS lsa_SetTrustedDomainInfoByName(
    10441028                [in]                   policy_handle         *handle,
    1045                 [in]                   lsa_String             trusted_domain,
     1029                [in,ref]               lsa_String             *trusted_domain,
    10461030                [in]                   lsa_TrustDomInfoEnum   level,
    1047                 [in,unique,switch_is(level)] lsa_TrustedDomainInfo *info
     1031                [in,ref,switch_is(level)] lsa_TrustedDomainInfo *info
    10481032                );
    10491033
     
    10701054                [in]  lsa_TrustDomainInfoInfoEx   *info,
    10711055                [in]  lsa_TrustDomainInfoAuthInfoInternal *auth_info,
    1072                 [in]  uint32 access_mask,
     1056                [in]  lsa_TrustedAccessMask access_mask,
    10731057                [out] policy_handle               *trustdom_handle
    10741058                );
     
    10811065
    10821066        /* Function 0x35 */
     1067        typedef [bitmap32bit] bitmap {
     1068                LSA_POLICY_KERBEROS_VALIDATE_CLIENT = 0x00000080
     1069        } lsa_krbAuthenticationOptions;
    10831070
    10841071        /* w2k3 returns either 0x000bbbd000000000 or 0x000a48e800000000
    1085            for unknown6 - gd */
    1086         typedef struct {
    1087                 uint32 enforce_restrictions;
     1072           for reserved - gd */
     1073        typedef struct {
     1074                lsa_krbAuthenticationOptions authentication_options;
    10881075                hyper service_tkt_lifetime;
    10891076                hyper user_tkt_lifetime;
    10901077                hyper user_tkt_renewaltime;
    10911078                hyper clock_skew;
    1092                 hyper unknown6;
     1079                hyper reserved;
    10931080        } lsa_DomainInfoKerberos;
    10941081
     
    11261113                [in]     policy_handle *handle,
    11271114                [in]         lsa_String     name,
    1128                 [in]         uint32        access_mask,
     1115                [in]     lsa_TrustedAccessMask access_mask,
    11291116                [out]    policy_handle *trustdom_handle
    11301117                );
     
    12011188                [in]  lsa_TrustDomainInfoInfoEx   *info,
    12021189                [in]  lsa_TrustDomainInfoAuthInfoInternal *auth_info,
    1203                 [in]  uint32                      access_mask,
     1190                [in]  lsa_TrustedAccessMask access_mask,
    12041191                [out] policy_handle               *trustdom_handle
    12051192                );
     
    12691256        /* Function 0x49 */
    12701257        typedef struct {
    1271                 [range(0,131072)] uint32 length;
     1258                [range(0,131072)] uint3264 length;
    12721259                [size_is(length)] uint8 *data;
    12731260        } lsa_ForestTrustBinaryData;
     
    12801267
    12811268        typedef [switch_type(uint32)] union {
    1282                 [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] lsa_String top_level_name;
     1269                [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME)] lsa_StringLarge top_level_name;
    12831270                [case(LSA_FOREST_TRUST_TOP_LEVEL_NAME_EX)] lsa_StringLarge top_level_name_ex;
    12841271                [case(LSA_FOREST_TRUST_DOMAIN_INFO)] lsa_ForestTrustDomainInfo domain_info;
     
    12951282        typedef struct {
    12961283                uint32 flags;
    1297                 lsa_ForestTrustRecordType level;
    1298                 hyper unknown;
    1299                 [switch_is(level)] lsa_ForestTrustData forest_trust_data;
     1284                lsa_ForestTrustRecordType type;
     1285                hyper time;
     1286                [switch_is(type)] lsa_ForestTrustData forest_trust_data;
    13001287        } lsa_ForestTrustRecord;
    13011288
     
    13121299                );
    13131300
    1314         /* Function 0x4a */
    1315         [todo] NTSTATUS lsa_LSARSETFORESTTRUSTINFORMATION();
     1301        /*****************
     1302         * Function 0x4a */
     1303
     1304        typedef [v1_enum] enum {
     1305                LSA_FOREST_TRUST_COLLISION_TDO = 0,
     1306                LSA_FOREST_TRUST_COLLISION_XREF = 1,
     1307                LSA_FOREST_TRUST_COLLISION_OTHER = 2
     1308        } lsa_ForestTrustCollisionRecordType;
     1309
     1310        /* if type is CollisionTdo, flags can be */
     1311        typedef [bitmap32bit] bitmap {
     1312                LSA_TLN_DISABLED_NEW            = 0x00000001,
     1313                LSA_TLN_DISABLED_ADMIN          = 0x00000002,
     1314                LSA_TLN_DISABLED_CONFLICT       = 0x00000004
     1315        } lsa_ForestTrustCollisionTDOFlags;
     1316
     1317        /* if type is CollisionXref, flags can be */
     1318        typedef [bitmap32bit] bitmap {
     1319                LSA_SID_DISABLED_ADMIN          = 0x00000001,
     1320                LSA_SID_DISABLED_CONFLICT       = 0x00000002,
     1321                LSA_NB_DISABLED_ADMIN           = 0x00000004,
     1322                LSA_NB_DISABLED_CONFLICT        = 0x00000008
     1323        } lsa_ForestTrustCollisionXrefFlags;
     1324
     1325        typedef [nodiscriminant] union {
     1326                [case(LSA_FOREST_TRUST_COLLISION_TDO)] lsa_ForestTrustCollisionTDOFlags flags;
     1327                [case(LSA_FOREST_TRUST_COLLISION_XREF)] lsa_ForestTrustCollisionXrefFlags flags;
     1328                [default] uint32 flags;
     1329        } lsa_ForestTrustCollisionFlags;
     1330
     1331        typedef struct {
     1332                uint32 index;
     1333                lsa_ForestTrustCollisionRecordType type;
     1334                [switch_is(type)] lsa_ForestTrustCollisionFlags flags;
     1335                lsa_String name;
     1336        } lsa_ForestTrustCollisionRecord;
     1337
     1338        typedef struct {
     1339                uint32 count;
     1340                [size_is(count)] lsa_ForestTrustCollisionRecord **entries;
     1341        } lsa_ForestTrustCollisionInfo;
     1342
     1343        [public] NTSTATUS lsa_lsaRSetForestTrustInformation(
     1344                [in]      policy_handle *handle,
     1345                [in,ref]  lsa_StringLarge *trusted_domain_name,
     1346                [in]      uint16 highest_record_type,
     1347                [in,ref]  lsa_ForestTrustInformation *forest_trust_info,
     1348                [in]      uint8 check_only,
     1349                [out,ref] lsa_ForestTrustCollisionInfo **collision_info
     1350                );
    13161351
    13171352        /* Function 0x4b */
Note: See TracChangeset for help on using the changeset viewer.