Skip to content

Instantly share code, notes, and snippets.

@tecoholic
Last active September 22, 2016 17:17
Show Gist options
  • Save tecoholic/7480f130458d75baec8b02c6a5ba5a63 to your computer and use it in GitHub Desktop.
Save tecoholic/7480f130458d75baec8b02c6a5ba5a63 to your computer and use it in GitHub Desktop.
  1. install openldap
    • Left to the package manager
  2. import the gluu.ldif schema file
    • the generated schema is stored in the static/openldap/gluu.ldif
    • run command ldapadd -Q -Y EXTERNAL -H ldapi:/// -f static/openldap/gluu.ldif
  3. generate the indexes
    • add the index to the cn=config using the ldapmodify command ldapmodify -Y EXTERNAL -H ldapi:/// -f static/openldap/index.ldif
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment