[Date Prev][Date Next]
Re: Back-sql: ldap_entries queries are hardcoded(?)
Ken Johanson wrote:
I am wondering if the select, insert, update, delete statements can be
customized for the ldap_entries table, in a similar fashion to how the
other tables statements can be, as in ldap_attr_mappings? I would use
a view to achieve this; unfortunately I'm bound to an older Mysql
version that doesn't support views..
Some of them are. You should be able to use a view to perform read-only
operations, and likely to perform all operations. See slapd-sql(5)
where the use of the "id_query", "insentry_stmt" and "delentry_stmt" is
detailed. Hacking them should do the trick. You may need to use a
fairly recent version of back-sql.
SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497