From 33ed03a64b581503057e3a3498c0afac72c493f2 Mon Sep 17 00:00:00 2001 From: Paul Terry Date: Thu, 3 Dec 2015 17:44:21 +0000 Subject: [PATCH] ITS#8329 Add the id_query config item. --- servers/slapd/back-sql/config.c | 5 +++++ 1 file changed, 5 insertions(+) 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 } }; -- 2.39.5