关于搭建openldap+mysql数据作为后端的实例参看http://www.wingfoss.com/content/how-to-install-openldap-with-mysql-on-debian6
一步一步做100%可以成功
这里重点说明一下mysql作为后段数据库中各个表的关系
文章内容参考了http://www.flatmtn.com/article/setting-ldap-back-sql#LdapBacksql-5文档
其中主要表格的字段说明:
2) Understanding the ldap_* Tables
This is the best I can describe it...
The ldap_oc_mappings table is where you put your object classes. Columns:
ldap_oc_mappings 表是用于放置你的objectclass类型信息
id = a unique id that you will refer to in other ldap_* tables
id = 一个唯一标示服用于在其他表中引用
name