/!\ This work is still in developpement, DO NOT run/install that on a production server! Since the user now have (partial) write access to the LDAP directory, it is of crucial importance to configure the ACL properly. * "populate.ldif" is meant to provide at least an example of every single situation we may encounter in our directory. * "test-user-acl.sh" checks the database against the ACLs. /!\ Every modification to the schema or the ACLs should be made to "populate.ldif" and "test-user-acl.sh" too! Usage: * Load the ACLs: ldapmodify -Y EXTERNAL -H ldapi:/// -f acl.ldif * Repopulate the database (will clear it out first!): ldapdelete -Y EXTERNAL -H ldapi:/// -r "ou=virtual,o=mailHosting,dc=fripost,dc=dev" ; ldapadd -Y EXTERNAL -H ldapi:/// -f populate.ldif * Running the test suite: sudo ./test-user-acl.sh