[Date Prev][Date Next] [Chronological] [Thread] [Top]

(ITS#5779) backsql_load_schema_map checks wrong schema column in db



Full_Name: Robert Brooks
Version: 2.4.12
OS: Linux
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (212.28.17.64)


start-up of slapd reports

"backsql_load_schema_map(): required column #6 "expect_return" is empty"

however the value of ldap_oc_mappings.create_proc is actually being checked,
this can be confirmed by changing create_proc value in database from empty value
to non-empty.

problem seems to be around line 567 of schema-map.c

"                                { delete_proc_idx + 1, "expect_return" },"

6 seems correct value, but actual result is not correct