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/source3/include/ads.h

    r746 r988  
    1414struct ads_saslwrap_ops {
    1515        const char *name;
    16         ADS_STATUS (*wrap)(struct ads_struct *, uint8 *buf, uint32 len);
     16        ADS_STATUS (*wrap)(struct ads_struct *, uint8_t *buf, uint32_t len);
    1717        ADS_STATUS (*unwrap)(struct ads_struct *);
    1818        void (*disconnect)(struct ads_struct *);
     
    2727typedef struct ads_struct {
    2828        int is_mine;    /* do I own this structure's memory? */
    29        
     29
    3030        /* info needed to find the server */
    3131        struct {
     
    3333                char *workgroup;
    3434                char *ldap_server;
    35                 int foreign; /* set to 1 if connecting to a foreign
    36                               * realm */
    3735                bool gc;     /* Is this a global catalog server? */
    3836        } server;
     
    4644                unsigned flags;
    4745                int time_offset;
     46                char *ccache_name;
    4847                time_t tgt_expire;
    4948                time_t tgs_expire;
     
    5352        /* info derived from the servers config */
    5453        struct {
    55                 uint32 flags; /* cldap flags identifying the services. */
     54                uint32_t flags; /* cldap flags identifying the services. */
    5655                char *realm;
    5756                char *bind_path;
     
    8281                void *wrap_private_data;
    8382                struct {
    84                         uint32 ofs;
    85                         uint32 needed;
    86                         uint32 left;
     83                        uint32_t ofs;
     84                        uint32_t needed;
     85                        uint32_t left;
    8786#define        ADS_SASL_WRAPPING_IN_MAX_WRAPPED        0x0FFFFFFF
    88                         uint32 max_wrapped;
    89                         uint32 min_wrapped;
    90                         uint32 size;
    91                         uint8 *buf;
     87                        uint32_t max_wrapped;
     88                        uint32_t min_wrapped;
     89                        uint32_t size;
     90                        uint8_t *buf;
    9291                } in;
    9392                struct {
    94                         uint32 ofs;
    95                         uint32 left;
     93                        uint32_t ofs;
     94                        uint32_t left;
    9695#define        ADS_SASL_WRAPPING_OUT_MAX_WRAPPED       0x00A00000
    97                         uint32 max_unwrapped;
    98                         uint32 sig_size;
    99                         uint32 size;
    100                         uint8 *buf;
     96                        uint32_t max_unwrapped;
     97                        uint32_t sig_size;
     98                        uint32_t size;
     99                        uint8_t *buf;
    101100                } out;
    102101        } ldap;
     
    128127#define ADS_PINGS          0x0000FFFF  /* Ping response */
    129128
    130 /* ads auth control flags */
    131 #define ADS_AUTH_DISABLE_KERBEROS 0x0001
    132 #define ADS_AUTH_NO_BIND          0x0002
    133 #define ADS_AUTH_ANON_BIND        0x0004
    134 #define ADS_AUTH_SIMPLE_BIND      0x0008
    135 #define ADS_AUTH_ALLOW_NTLMSSP    0x0010
    136 #define ADS_AUTH_SASL_SIGN        0x0020
    137 #define ADS_AUTH_SASL_SEAL        0x0040
    138 #define ADS_AUTH_SASL_FORCE       0x0080
    139 #define ADS_AUTH_USER_CREDS       0x0100
    140 
    141129enum ads_extended_dn_flags {
    142130        ADS_EXTENDED_DN_HEX_STRING      = 0,
Note: See TracChangeset for help on using the changeset viewer.