Skip to content

Octoprint LDAP integration

Kataze the Skunk edited this page Apr 18, 2021 · 4 revisions
  1. Install OctoPi, and IPA join the Pi.

  2. Install Octoprint Auth-LDAP

    • As the pi user, you can shell into the octopi venv with: source ~/oprint/bin/activate
    • pip install https://github.com/battis/OctoPrint-LDAP/archive/master.zip
  3. Edit ~/.octoprint/config.yaml and add this configuration block under plugins:

     auth_ldap:
         _config_version: 3
         auth_password: [bind password here]
         auth_user: uid=octopibind,cn=sysaccounts,cn=etc,dc=pawprint,dc=space
         search_base: dc=pawprint,dc=space
         uri: ldap://ipa.pawprint.space
    
  4. Restart octoprint: sudo systemctl restart octoprint New users will be created as they login.

Clone this wiki locally