From 010135a5b132197a784d3f337748433278f1fad8 Mon Sep 17 00:00:00 2001 From: Amy Fong Date: Tue, 22 Jul 2014 10:07:48 -0400 Subject: keystone: openldap packaging Add openstack specific parts of openldap. openldap's init script initializes the data with the basic tree structures needed for keystone - the Group, User and Role tree. Additionally, we add two variables which can be set in local.conf, LDAP_DN - default DN for ldap default: "dc=my-domain,dc=com" LDAP_DATADIR - default directory for ldap's data directory default: "/etc/openldap-data/" Signed-off-by: Amy Fong --- .../recipes-support/openldap/files/ops-base.ldif | 28 ++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 meta-openstack/recipes-support/openldap/files/ops-base.ldif (limited to 'meta-openstack/recipes-support/openldap/files/ops-base.ldif') diff --git a/meta-openstack/recipes-support/openldap/files/ops-base.ldif b/meta-openstack/recipes-support/openldap/files/ops-base.ldif new file mode 100644 index 0000000..cfbb94b --- /dev/null +++ b/meta-openstack/recipes-support/openldap/files/ops-base.ldif @@ -0,0 +1,28 @@ +dn: dc=my-domain,dc=com +objectclass: dcObject +objectclass: top +objectclass: organization +o: my-domain Company +dc: my-domain + +dn: cn=Manager,dc=my-domain,dc=com +objectclass: organizationalRole +cn: Manager +description: LDAP administratior +roleOccupant: dc=my-domain,dc=com + +dn: ou=Roles,dc=my-domain,dc=com +objectclass:organizationalunit +ou: Roles +description: generic groups branch + +dn: ou=Users,dc=my-domain,dc=com +objectclass:organizationalunit +ou: Users +description: generic groups branch + +dn: ou=Groups,dc=my-domain,dc=com +objectclass:organizationalunit +ou: Groups +description: generic groups branch + -- cgit v1.2.3-54-g00ecf