免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 1821 | 回复: 1
打印 上一主题 下一主题

[ldap] LDAP 用户修改自己的密码问题 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2015-10-28 18:02 |只看该作者 |倒序浏览
openLDAP 服务器已弄好,用户登录不能够修改自己的密码。。
蛋疼。。。。。
  1. Sample access control policy:
  2. #       Root DSE: allow anyone to read it
  3. #       Subschema (sub)entry DSE: allow anyone to read it
  4. #       Other DSEs:
  5. #               Allow self write access
  6. #               Allow authenticated users read access
  7. #               Allow anonymous users to authenticate
  8. #       Directives needed to implement policy:
  9. # access to dn.base="" by * read
  10. # access to dn.base="cn=Subschema" by * read
  11. [color=Blue]access to *
  12.         by self write
  13.         by users read
  14.         by anonymous auth[/color]
  15. #
  16. # if no access controls are present, the default policy
  17. # allows anyone and everyone to read anything but restricts
  18. # updates to rootdn.  (e.g., "access to * by * read")
  19. #
  20. # rootdn can always read and write EVERYTHING!

  21. # enable on-the-fly configuration (cn=config)
复制代码
到底这个LDAP的ACL是怎么设置的啊!!!!!!!!!!!!!!!!!求大神指导啊!!

论坛徽章:
0
2 [报告]
发表于 2016-01-05 16:08 |只看该作者
/etc/pam.d/system-auth-ac
/etc/pam.d/password-auth-ac
修改这两个文件
使用ldap认证
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP