From bf9f3a690ead4aa59f5dbae744503e90793f770f Mon Sep 17 00:00:00 2001 From: Simon Rettberg Date: Mon, 29 May 2017 15:47:03 +0200 Subject: Support specifying custom attribute names for schema --- ldadp.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ldadp.c') diff --git a/ldadp.c b/ldadp.c index cad87ea..741df5d 100644 --- a/ldadp.c +++ b/ldadp.c @@ -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); } -- cgit v1.2.3-55-g7522