Changeset 988 for vendor/current/source3/include/ads.h
- Timestamp:
- Nov 24, 2016, 1:14:11 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
vendor/current/source3/include/ads.h
r746 r988 14 14 struct ads_saslwrap_ops { 15 15 const char *name; 16 ADS_STATUS (*wrap)(struct ads_struct *, uint8 *buf, uint32len);16 ADS_STATUS (*wrap)(struct ads_struct *, uint8_t *buf, uint32_t len); 17 17 ADS_STATUS (*unwrap)(struct ads_struct *); 18 18 void (*disconnect)(struct ads_struct *); … … 27 27 typedef struct ads_struct { 28 28 int is_mine; /* do I own this structure's memory? */ 29 29 30 30 /* info needed to find the server */ 31 31 struct { … … 33 33 char *workgroup; 34 34 char *ldap_server; 35 int foreign; /* set to 1 if connecting to a foreign36 * realm */37 35 bool gc; /* Is this a global catalog server? */ 38 36 } server; … … 46 44 unsigned flags; 47 45 int time_offset; 46 char *ccache_name; 48 47 time_t tgt_expire; 49 48 time_t tgs_expire; … … 53 52 /* info derived from the servers config */ 54 53 struct { 55 uint32 flags; /* cldap flags identifying the services. */54 uint32_t flags; /* cldap flags identifying the services. */ 56 55 char *realm; 57 56 char *bind_path; … … 82 81 void *wrap_private_data; 83 82 struct { 84 uint32 ofs;85 uint32 needed;86 uint32 left;83 uint32_t ofs; 84 uint32_t needed; 85 uint32_t left; 87 86 #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; 92 91 } in; 93 92 struct { 94 uint32 ofs;95 uint32 left;93 uint32_t ofs; 94 uint32_t left; 96 95 #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; 101 100 } out; 102 101 } ldap; … … 128 127 #define ADS_PINGS 0x0000FFFF /* Ping response */ 129 128 130 /* ads auth control flags */131 #define ADS_AUTH_DISABLE_KERBEROS 0x0001132 #define ADS_AUTH_NO_BIND 0x0002133 #define ADS_AUTH_ANON_BIND 0x0004134 #define ADS_AUTH_SIMPLE_BIND 0x0008135 #define ADS_AUTH_ALLOW_NTLMSSP 0x0010136 #define ADS_AUTH_SASL_SIGN 0x0020137 #define ADS_AUTH_SASL_SEAL 0x0040138 #define ADS_AUTH_SASL_FORCE 0x0080139 #define ADS_AUTH_USER_CREDS 0x0100140 141 129 enum ads_extended_dn_flags { 142 130 ADS_EXTENDED_DN_HEX_STRING = 0,
Note:
See TracChangeset
for help on using the changeset viewer.