yum install -y openldap-devel |
source /opt/netbox/venv/bin/activate |
pip3 install django-auth-ldap |
sh -c “echo ‘django-auth-ldap’ >> /opt/netbox/local_requirements.txt” |
vim /opt/netbox-3.1.9/netbox/netbox/configuration.py |
REMOTE_AUTH_BACKEND = ‘netbox.authentication.LDAPBackend’ |
vim /opt/netbox-3.1.9/netbox/netbox/ldap_config.py |
コメント