Repository navigation
Adding new organisations to the LDAP backend
Users of the Ansible idp-ldap playbook.
The playbook applies a role ldap to the LDAP server, which populates the ldap directory with a set of initial organisations. This is a static file in the repo, which may reset the list of organisations which the ldap recognises.
The LDAP-backed IdP playbook uses a list of existing organisations in an ldif file, which have been accrued organincally over the years. Every time a new user registers via the web interface, they are asked to choose an organisation, which is then added into the ldap by the idp web frontend.
Of course, we would like to have as many organisations as possible. The easiest way is just to allow people to contribute their new organisations. The suggested procedure for doing this is using pull requests.
Follow this procedure to create a new pull request for the organisations you want to add.
- Fork the repo to your own account
- Add your repo to the git remotes on your side :
git remote add personal https://github.com/username/DevOps - Edit the file
Ansible/roles/ldap/files/etc/openldap/slap.d/orgs.ldif - Commit the file and push it to your personal repo :
git commit Ansible/roles/ldap/files/etc/openldap/slap.d/orgs.ldif -m "New organisations" ; git push personal master - Go to your repo on github and open a pull request (the green button that looks like a recycle).
1. Select @AAROC/DevOps as base fork and your repo as the head fork
1. Send pull requests to the
devbranch of @AAROC/DevOps 1. You need to do this across repos 1. you should see only one file changed (the file you've just created)
We'll then discuss the new additions and hopefully add them.
for more information on what's going on, see the ROC webpage.