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

Re: sql-backend

> backsql_db_open(): attribute mapping SQL statement not specified (use
> "at_query" directive in slapd.conf)
> backsql_db_open(): setting 'SELECT
> name,sel_expr,from_tbls,join_where,add_proc,delete_proc,param_order,expect_return,sel_expr_u
>  FROM ldap_attr_mappings WHERE oc_map_id=?' by default

You're using the default attribute mapping directive,
which is incorrect for mysql (as well as for postgres);
please add

at_query "SELECT name,sel_expr,from_tbls,join_where,add_proc,delete_proc, 
     param_order,expect_return FROM ldap_attr_mappings WHERE oc_map_id=?"

to your slapd-conf, below the "database sql"
directive.  This will fix the latest error
you got.  Of course, there could be more ...


Pierangelo Masarati