From db97133560063b60fd8fecfe7a8e279e45760758 Mon Sep 17 00:00:00 2001 From: Thierry Bordaz Date: Mon, 6 Jan 2025 18:09:02 +0100 Subject: [PATCH] Issue 6417 - (2nd) typo --- ldap/servers/slapd/back-ldbm/ldbm_entryrdn.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ldap/servers/slapd/back-ldbm/ldbm_entryrdn.c b/ldap/servers/slapd/back-ldbm/ldbm_entryrdn.c index e048a9498..8ba28e3c2 100644 --- a/ldap/servers/slapd/back-ldbm/ldbm_entryrdn.c +++ b/ldap/servers/slapd/back-ldbm/ldbm_entryrdn.c @@ -1127,7 +1127,7 @@ entryrdn_lookup_dn(backend *be, /* Just in case the suffix ID is not '1' retrieve it from the database */ keybuf = slapi_ch_strdup(slapi_sdn_get_ndn(be->be_suffix)); dblayer_value_set(be, &key, keybuf, strlen(keybuf) + 1); - rc = dblayer_cursor_op(&ctx.cursor, DBI_OP_MOVE_TO_KEY, &key, &data); + rc = dblayer_cursor_op(&cursor, DBI_OP_MOVE_TO_KEY, &key, &data); if (rc) { slapi_log_err(SLAPI_LOG_WARNING, "entryrdn_lookup_dn", "Fails to retrieve the ID of suffix %s - keep the default value '%d'\n",