ldap mysql

Web、Mail、Ftp、DNS、Proxy、VPN、Samba、LDAP 等基础网络服务
回复
hu_smile
帖子: 4
注册时间: 2016-09-28 9:58
系统: win10

ldap mysql

#1

帖子 hu_smile » 2016-09-28 10:02

有哪位高手在ubuntu下搭建过lopenldap集中认证,mysql作后端数据库??
onlylove
论坛版主
帖子: 5214
注册时间: 2007-01-14 16:23

Re: ldap mysql

#2

帖子 onlylove » 2016-09-28 13:15

所以,你遇到什么问题了?还是就想问问有没有人会 :What
hu_smile
帖子: 4
注册时间: 2016-09-28 9:58
系统: win10

Re: ldap mysql

#3

帖子 hu_smile » 2016-09-28 14:13

遇到出入条目错误 :root@ubuntu:/usr/share/migrationtools# ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f base.ldif
Enter LDAP Password:
adding new entry "dc=example,dc=com"
ldap_add: Server is unwilling to perform (53)
additional info: operation not permitted within namingContext
hu_smile
帖子: 4
注册时间: 2016-09-28 9:58
系统: win10

Re: ldap mysql

#4

帖子 hu_smile » 2016-09-28 14:25

onlylove,
遇到插入条目错误 :
root@ubuntu:/usr/share/migrationtools# ldapadd -x -D "cn=Manager,dc=example,dc=com" -W -f base.ldif
Enter LDAP Password:
adding new entry "dc=example,dc=com"
ldap_add: Server is unwilling to perform (53)
additional info: operation not permitted within namingContext
刚接触ldap有很多不懂这出多多指教!!谢谢
onlylove
论坛版主
帖子: 5214
注册时间: 2007-01-14 16:23

Re: ldap mysql

#5

帖子 onlylove » 2016-09-28 15:42

不用点名,点也没用,今天很忙,大概没时间试验

http://www.openldap.org/faq/data/cache/978.html
onlylove
论坛版主
帖子: 5214
注册时间: 2007-01-14 16:23

Re: ldap mysql

#6

帖子 onlylove » 2016-10-09 14:56

假期刚回来,你贴下你的ldap.conf配置,还有mysql的用户以及权限,看看有没有权限问题,如果怕泄密,不用贴全配置,但是ldap里面关于mysql的内容贴上
hu_smile
帖子: 4
注册时间: 2016-09-28 9:58
系统: win10

Re: ldap mysql

#7

帖子 hu_smile » 2016-10-09 15:04

我是参照这个网站去搭建的 http://www.wingfoss.com/content/how-to- ... on-debian6
onlylove
论坛版主
帖子: 5214
注册时间: 2007-01-14 16:23

Re: ldap mysql

#8

帖子 onlylove » 2016-10-14 23:05

问题可能出在你的文件格式上,就是base.ldif那个文件
如果数据量不大,试试手动添加看看会不会有错

http://www.openldap.org/lists/openldap- ... 00507.html

http://www.linuxquestions.org/questions ... 175489666/

其余的不清楚,不好乱讲
回复