Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/librpc/idl/samr.idl

    r414 r745  
    2424                SAM_DATABASE_PRIVS   = 2 /* Privileges */
    2525        } netr_SamDatabaseID;
    26 
    27         typedef [public,v1_enum] enum {
    28                 SAMR_REJECT_OTHER      = 0,
    29                 SAMR_REJECT_TOO_SHORT  = 1,
    30                 SAMR_REJECT_IN_HISTORY = 2,
    31                 SAMR_REJECT_COMPLEXITY = 5
    32         } samr_RejectReason;
    33 
    34 
    3526
    3627        /* account control (acct_flags) bits */
     
    5445                ACB_DONT_REQUIRE_PREAUTH        = 0x00010000,  /* 1 = Preauth not required */
    5546                ACB_PW_EXPIRED                  = 0x00020000,  /* 1 = Password Expired */
    56                 ACB_NO_AUTH_DATA_REQD           = 0x00080000   /* 1 = No authorization data required */
     47                ACB_TRUSTED_TO_AUTHENTICATE_FOR_DELEGATION = 0x00040000,
     48                ACB_NO_AUTH_DATA_REQD           = 0x00080000,  /* 1 = No authorization data required */
     49                ACB_PARTIAL_SECRETS_ACCOUNT     = 0x00100000,
     50                ACB_USE_AES_KEYS                = 0x00200000
    5751        } samr_AcctFlags;
    5852
     
    665659                uint32 count;
    666660                [size_is(count)] uint32 *rids;
    667                 [size_is(count)] uint32 *types;
    668         } samr_RidTypeArray;
     661                [size_is(count)] samr_GroupAttrs *attributes;
     662        } samr_RidAttrArray;
    669663
    670664        NTSTATUS samr_QueryGroupMember(
    671665                [in,ref]  policy_handle *group_handle,
    672                 [out,ref] samr_RidTypeArray **rids
     666                [out,ref] samr_RidAttrArray **rids
    673667                );
    674668
     
    816810        typedef struct {
    817811                lsa_String comment;
    818                 lsa_String unknown; /* settable, but doesn't stick. probably obsolete */
     812                lsa_String reserved; /* settable, but doesn't stick. probably obsolete */
    819813                uint16 country_code;
    820814                uint16 code_page;
     
    992986                lsa_BinaryString lm_owf_password;
    993987                lsa_BinaryString nt_owf_password;
    994                 lsa_String unknown3;
     988                lsa_String private_data;
    995989                uint32 buf_count;
    996990                [size_is(buf_count)] uint8 *buffer;
     
    10071001                uint8  nt_password_set;
    10081002                uint8  password_expired;
    1009                 uint8  unknown4;
     1003                uint8  private_data_sensitive;
    10101004        } samr_UserInfo21;
    10111005
     
    14481442        /* Function    0x3f     */
    14491443
    1450         typedef enum samr_RejectReason samr_RejectReason;
    1451 
    1452         typedef struct {
    1453                 samr_RejectReason reason;
    1454                 uint32 unknown1;
    1455                 uint32 unknown2;
    1456         } samr_ChangeReject;
    1457 
    1458         NTSTATUS samr_ChangePasswordUser3(
     1444        typedef [public,v1_enum] enum {
     1445                SAM_PWD_CHANGE_NO_ERROR             = 0,
     1446                SAM_PWD_CHANGE_PASSWORD_TOO_SHORT   = 1,
     1447                SAM_PWD_CHANGE_PWD_IN_HISTORY       = 2,
     1448                SAM_PWD_CHANGE_USERNAME_IN_PASSWORD = 3,
     1449                SAM_PWD_CHANGE_FULLNAME_IN_PASSWORD = 4,
     1450                SAM_PWD_CHANGE_NOT_COMPLEX          = 5,
     1451                SAM_PWD_CHANGE_MACHINE_NOT_DEFAULT  = 6,
     1452                SAM_PWD_CHANGE_FAILED_BY_FILTER     = 7,
     1453                SAM_PWD_CHANGE_PASSWORD_TOO_LONG    = 8
     1454        } samPwdChangeReason;
     1455
     1456        typedef struct {
     1457                samPwdChangeReason extendedFailureReason;
     1458                [string,charset(UTF16)] uint16 *filterModuleName;
     1459        } userPwdChangeFailureInformation;
     1460
     1461        [public] NTSTATUS samr_ChangePasswordUser3(
    14591462                [in,unique]       lsa_String *server,
    14601463                [in,ref]          lsa_String *account,
     
    14661469                [in,unique]       samr_CryptPassword *password3,
    14671470                [out,ref]         samr_DomInfo1 **dominfo,
    1468                 [out,ref]         samr_ChangeReject **reject
     1471                [out,ref]         userPwdChangeFailureInformation **reject
    14691472                );
    14701473
Note: See TracChangeset for help on using the changeset viewer.