Openldap设置olcOverlay:ppolicy
问题:为什么我无法将objectclass pwdPolicy添加到cn = PasswordDefaults? 背景信息 我是LDAP的新手,我正在通过各种教程和其他技巧在线绊脚石创build一个目录,将为我处理用户信息。 我正在尝试创build一个包含用户信息并强制执行密码策略的LDAP服务器。 为了达到这个目的,我相信我需要将pwdPolicy objectclass添加到运行2.4.40的LDAP服务器的ou = Policies。 我松散地遵循这些教程: { Password Policy tutorial: https://tobrunet.ch/articles/openldap-password-policy-overlay/, Getting started with OpenLDAP and CentOS7: https://www.server-world.info/en/note?os=CentOS_7&p=openldap&f=1, Default and User Specific Password Policy: http://www.zytrax.com/books/ldap/ch6/ppolicy.html } 我有一个目录如下所示: -> Root stuff -> dc=example,dc=com -> cn=Manager (The olcRootDN) -> ou=User -> *Several entries with objectClasses {posixAccount, shadowAccount, inetOrgPerson}* -> ou=Policies (Not […]