path: root/ldap/base.ldif
diff options
Diffstat (limited to 'ldap/base.ldif')
1 files changed, 30 insertions, 0 deletions
diff --git a/ldap/base.ldif b/ldap/base.ldif
new file mode 100644
index 0000000..f91946b
--- /dev/null
+++ b/ldap/base.ldif
@@ -0,0 +1,30 @@
+# Load this file with
+# ldapadd -Y EXTERNAL -H ldapi:/// -f base.ldif
+# It will create the base directory and add services needed to for our
+# systems to work.
+# If "o=mailHosting,dc=fripost,dc=dev" exists, you can delete it with
+# ldapdelete -Y EXTERNAL -H ldapi:/// -r "o=mailHosting,dc=fripost,dc=dev"
+dn: o=mailHosting,dc=fripost,dc=dev
+objectClass: organization
+description: Mail hosting
+dn: ou=virtual,o=mailHosting,dc=fripost,dc=dev
+objectClass: organizationalUnit
+description: Virtual mail hosting
+dn: ou=services,o=mailHosting,dc=fripost,dc=dev
+objectClass: organizationalUnit
+dn: cn=FPanel,ou=services,o=mailHosting,dc=fripost,dc=dev
+objectClass: simpleSecurityObject
+objectClass: organizationalRole
+description: The adminstrator Web Panel
+userPassword: panel
+authzTo: dn.regex:^fvu=[^,]+,fvd=[^,]+,ou=virtual,o=mailHosting,dc=fripost,dc=dev$