i was just testing back-sql, so my slapd.conf is basically the one that's shipped with openldap, as in "servers/slapd/back-sql/rdbms_depend/pgsql/slapd.conf
I just changed a few parameters, like the pid and argfile directory, odbc and database parameters
here it is
include /usr/local/etc/openldap/schema/core.schema include /usr/local/etc/openldap/schema/cosine.schema include /usr/local/etc/openldap/schema/inetorgperson.schema
# Define global ACLs to disable default read access.
pidfile /var/run/slapd/slapd.pid argsfile /var/run/slapd/slapd.args
####################################################################### # sql database definitions #######################################################################
database sql suffix "dc=example,dc=com" rootdn "cn=root,dc=example,dc=com" rootpw secret dbname LdapTest dbuser ldaptest dbpasswd ldaptest insentry_stmt "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)" upper_func "upper" strcast_func "text" concat_pattern "?||?" has_ldapinfo_dn_ru no
Le 24/01/2013 20:00, Howard Chu a écrit :
Benin Technologies wrote:
Le 24/01/2013 13:31, Howard Chu a écrit :
Ah. In that case the fix must still be wrong. (Sorry, I'm patching this blind as I don't have any current SQL installation to test with.)
OK let me know when you fixed it, it the meantime I'll switch back to slapd.conf
Can you please include your slapd.conf here in this ITS?