Unable to make ppolicy plugin work
I'm trying to make ppolicy work on Centos 7.2, using this doc https://documentation.fusiondirectory.org/en/documentation/plugin/ppolicy. I tried on FD 1.0.15, 1.0.16 and also with the new 1.0.17, always installed from http://repos.fusiondirectory.org/rhel7/RPMS.
I've installed it using: sudo yum install fusiondirectory-plugin-ppolicy sudo yum install fusiondirectory-plugin-ppolicy-schema and then: sudo fusiondirectory-insert-schema -i /etc/openldap/schema/fusiondirectory/ppolicy.schema but etc/openldap/schema/fusiondirectory/ppolicy.schema does not exist.
I've tried to use /etc/openldap/schema/ppolicy.schema instead, it worked but I don't know if it's the right thing to do because after that I've typed the command: sudo ldapadd -Y EXTERNAL -H ldapi:// -f /usr/share/doc/fusiondirectory-plugin-ppolicy/ppolicymodule.ldif that returned: SASL/EXTERNAL authentication started SASL username: gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth SASL SSF: 0 modifying entry "cn=module{0},cn=config" ldap_modify: No such object (32) matched DN: cn=config
Am I doing it wrong?