diff options
Diffstat (limited to 'types.h')
-rw-r--r-- | types.h | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -104,6 +104,13 @@ typedef struct { struct string uidnumber; // AD: objectSid } attr_map_t; +struct hashmap; +struct uidmap { + const char *fileName; + struct hashmap *nameToNum; + struct hashmap *numToName; +}; + /** * Configuration data for an ADS we're proxying. */ @@ -121,10 +128,12 @@ struct _server_t_ { char cabundle[MAXPATH]; BOOL plainLdap; BOOL fixNumeric; // prefix numeric account names with an 's' + BOOL genUidNumber; // generate uidNumber attribute locally (and keep track) uint16_t port; SSL_CTX *sslContext; epoll_server_t con; attr_map_t map; + struct uidmap uidmap; }; #endif |