diff options
author | Simon Rettberg | 2017-05-29 15:47:03 +0200 |
---|---|---|
committer | Simon Rettberg | 2017-05-29 15:47:03 +0200 |
commit | bf9f3a690ead4aa59f5dbae744503e90793f770f (patch) | |
tree | 6e4d4870886ca271d7c2b345cdd672cdee3214ce /ldadp.c | |
parent | Add comment about tinyldap sources (diff) | |
download | ldadp-bf9f3a690ead4aa59f5dbae744503e90793f770f.tar.gz ldadp-bf9f3a690ead4aa59f5dbae744503e90793f770f.tar.xz ldadp-bf9f3a690ead4aa59f5dbae744503e90793f770f.zip |
Support specifying custom attribute names for schema
Diffstat (limited to 'ldadp.c')
-rw-r--r-- | ldadp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -140,6 +140,8 @@ static int loadConfig_handler(void *stuff, const char *section, const char *key, server_setPort(section, value); } else if (strcmp(key, "plainldap") == 0) { server_setPlainLdap(section, value); + } else if (strncmp(key, "map.", 4) == 0) { + server_setMap(section, key+4, value); } else { printf("Unknown ADS config option '%s' for server '%s'\n", key, section); } |