[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Problem with back-sql
Hello,
I try to configure the back-sql with
open ldap 2.1.23, unixODBC 2.2.6 and MySql 3.23.54a-11, on a RedHat 9.
I try to use the samples.
First I see that one column is missing
(sel_expr_u) so I use a add column.
But now, when I launch the slapd daemon,
another schemas error : load_schema_map(): attribute 'documentDN' for objectClass
'inetOrgPerson' is not defined in schema : attribute type undefined.
So I delete the line in the table ldap_attr_mappings
(the id=8 from the samples).
When I launch after this modification,
I get a segmentation error ...
Here the slapd conf file:
include
/usr/local/etc/openldap/schema/core.schema
include
/usr/local/etc/openldap/schema/cosine.schema
include
/usr/local/etc/openldap/schema/inetorgperson.schema
pidfile
/usr/local/var/slapd.pid
argsfile /usr/local/var/slapd.args
access to *
by
self write
by
users read
by
anonymous auth
database sql
suffix
"ou=groupetreves"
rootdn
"cn=Manager,ou=groupetreves"
dbname
Ldap
subtree_cond "ldap_entries.dn
LIKE CONCAT('%',?)"
insentry_query "INSERT INTO ldap_entries
(dn,oc_map_id,parent,keyval) VALUES (?,?,?,?)"
Any idea ?
Thanks in advance,
Sébastien Dagnicourt.