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/libcli/auth/proto.h

    r919 r988  
    1717void netlogon_creds_des_decrypt(struct netlogon_creds_CredentialState *creds, struct samr_Password *pass);
    1818void netlogon_creds_arcfour_crypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len);
     19void netlogon_creds_aes_encrypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len);
     20void netlogon_creds_aes_decrypt(struct netlogon_creds_CredentialState *creds, uint8_t *data, size_t len);
    1921
    2022/*****************************************************************
     
    2527                                                                  const char *client_account,
    2628                                                                  const char *client_computer_name,
     29                                                                  uint16_t secure_channel_type,
    2730                                                                  const struct netr_Credential *client_challenge,
    2831                                                                  const struct netr_Credential *server_challenge,
     
    5053                                                                  const struct netr_Credential *server_challenge,
    5154                                                                  const struct samr_Password *machine_password,
    52                                                                   struct netr_Credential *credentials_in,
     55                                                                  const struct netr_Credential *credentials_in,
    5356                                                                  struct netr_Credential *credentials_out,
    5457                                                                  uint32_t negotiate_flags);
    5558NTSTATUS netlogon_creds_server_step_check(struct netlogon_creds_CredentialState *creds,
    56                                  struct netr_Authenticator *received_authenticator,
     59                                 const struct netr_Authenticator *received_authenticator,
    5760                                 struct netr_Authenticator *return_authenticator) ;
    58 void netlogon_creds_decrypt_samlogon(struct netlogon_creds_CredentialState *creds,
    59                             uint16_t validation_level,
    60                             union netr_Validation *validation) ;
     61void netlogon_creds_decrypt_samlogon_validation(struct netlogon_creds_CredentialState *creds,
     62                                                uint16_t validation_level,
     63                                                union netr_Validation *validation);
     64void netlogon_creds_encrypt_samlogon_validation(struct netlogon_creds_CredentialState *creds,
     65                                                uint16_t validation_level,
     66                                                union netr_Validation *validation);
     67void netlogon_creds_decrypt_samlogon_logon(struct netlogon_creds_CredentialState *creds,
     68                                           enum netr_LogonInfoClass level,
     69                                           union netr_LogonLevel *logon);
     70void netlogon_creds_encrypt_samlogon_logon(struct netlogon_creds_CredentialState *creds,
     71                                           enum netr_LogonInfoClass level,
     72                                           union netr_LogonLevel *logon);
     73union netr_LogonLevel *netlogon_creds_shallow_copy_logon(TALLOC_CTX *mem_ctx,
     74                                        enum netr_LogonInfoClass level,
     75                                        const union netr_LogonLevel *in);
    6176
    6277/* The following definitions come from /home/jeremy/src/samba/git/master/source3/../source4/../libcli/auth/session.c  */
     
    112127                  uint8_t kr_buf[16]);
    113128void SMBOWFencrypt(const uint8_t passwd[16], const uint8_t *c8, uint8_t p24[24]);
    114 void SMBNTencrypt_hash(const uint8_t nt_hash[16], uint8_t *c8, uint8_t *p24);
    115 void SMBNTencrypt(const char *passwd, uint8_t *c8, uint8_t *p24);
     129void SMBNTencrypt_hash(const uint8_t nt_hash[16], const uint8_t *c8, uint8_t *p24);
     130void SMBNTencrypt(const char *passwd, const uint8_t *c8, uint8_t *p24);
    116131void SMBOWFencrypt_ntv2(const uint8_t kr[16],
    117132                        const DATA_BLOB *srv_chal,
     
    130145                           const char *user, const char *domain, const uint8_t nt_hash[16],
    131146                           const DATA_BLOB *server_chal,
     147                           const NTTIME *server_timestamp,
    132148                           const DATA_BLOB *names_blob,
    133149                           DATA_BLOB *lm_response, DATA_BLOB *nt_response,
     
    180196bool extract_pw_from_buffer(TALLOC_CTX *mem_ctx,
    181197                            uint8_t in_buffer[516], DATA_BLOB *new_pass);
     198struct wkssvc_PasswordBuffer;
    182199void encode_wkssvc_join_password_buffer(TALLOC_CTX *mem_ctx,
    183200                                        const char *pwd,
Note: See TracChangeset for help on using the changeset viewer.