From: Paul Terry Date: Thu, 3 Dec 2015 17:44:21 +0000 (+0000) Subject: ITS#8329 Add the id_query config item. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=33ed03a64b581503057e3a3498c0afac72c493f2;p=openldap ITS#8329 Add the id_query config item. --- diff --git a/servers/slapd/back-sql/config.c b/servers/slapd/back-sql/config.c index 320dbba9c9..92f2af378e 100644 --- a/servers/slapd/back-sql/config.c +++ b/servers/slapd/back-sql/config.c @@ -213,6 +213,11 @@ static ConfigTable sqlcfg[] = { ARG_ON_OFF|ARG_MAGIC|BSQL_AUTOCOMMIT, (void *)sql_cf_gen, "( OLcfgDbAt:6.45 NAME 'olcSqlAutocommit' " "SYNTAX OMsBoolean SINGLE-VALUE )", NULL, NULL }, + { "id_query", "SQL expression", 2, 0, 0, ARG_STRING|ARG_QUOTE|ARG_OFFSET, + (void *)offsetof(struct backsql_info, sql_id_query), + "( OLcfgDbAt:6.46 NAME 'olcSqlIdQuery' " + "DESC 'Custom ID query' " + "SYNTAX OMsDirectoryString SINGLE-VALUE )", NULL, NULL }, { NULL, NULL, 0, 0, 0, ARG_IGNORED, NULL, NULL, NULL, NULL } };