Skip to content

Instantly share code, notes, and snippets.

@lowk3y
Created November 26, 2016 11:18
Show Gist options
  • Save lowk3y/77d0864e1a360a0562e85329bc35f91e to your computer and use it in GitHub Desktop.
Save lowk3y/77d0864e1a360a0562e85329bc35f91e to your computer and use it in GitHub Desktop.
Add {Free}radius schema to OpenLDAP
1) Download http://open.rhx.it/phamm/schema/radius.schema
2) use this script to convert .schema to .ldif - https://gist.github.com/jaseg/8577024
3) add schema
# sudo ldapadd -Q -Y EXTERNAL -H ldapi:/// -f radius.ldif
4) verify
# sudo ldapsearch -Q -LLL -Y EXTERNAL -H ldapi:/// -b \ cn=schema,cn=config dn
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment