-
-
Notifications
You must be signed in to change notification settings - Fork 813
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
develop-2.9-ldap doesn't use LDAP authentication #324
Comments
Just to note; Still not working for the 2.9.0, 2.9.1, or 2.9.2 |
Same issue with all 2.9 ldap versions with this config for Active Directory:
|
Still not working with the v2.9.3-ldap tag. Any chance to fix this in the the next image build? |
This is a quick fix for now. Add following lines to configuration/configuration.py:
Then
|
Follow Getting-Started and LDAP instructions eg.
|
I proposed to add the two needed vars in #339, that allows configuring those with docker enviroment vars. This isn't the solution i would like, but it is a "quick" fix. I personally would prefer that the netbox-ldap images are built with the needed defaults. But that would require a bit more digging how this could be done. |
I confirm LDAP does not work in 2.9.4 image. Need to modify configuration.py. |
#310 got merged into the develop branch a few days ago. When the changes reache the release branch (currently not yet the case) it is possible to fill the necessary options for LDAP via environment variables. This makes manual editing of the configuration.py unnecessary. The big question now is when the next release will be available. |
Netbox Docker 0.26.0 was just released which addresses this issue. |
Current Behavior
Version develop-2.9-ldap doesn't use LDAP authentication.
Expected Behavior
Remote authentication and LDAPBackend should be enabled by default.
FIX
configuration.py:
Configuration Changes
https://netbox.readthedocs.io/en/develop-2.9/release-notes/
Debug Information
The command you used to start the project:
docker-compose version:
docker version:
Server:
git rev-parse HEAD:
e9a9d9b
docker inspect netboxcommunity/netbox:develop-2.9-ldap --format "{{json .Config.Labels}}":
{"BUILD_REASON":"netbox","NETBOX_GIT_BRANCH":"HEAD","NETBOX_GIT_REF":"27796bbd08fa4f3c741ef5ae278d3ce8e2107f85","NETBOX_GIT_URL":"https://github.com/netbox-community/netbox.git","ORIGINAL_TAG":"docker.io/netboxcommunity/netbox:develop-2.9-ldap","org.label-schema.build-date":"2020-06-23T05:48+00:00","org.label-schema.description":"A container based distribution of Netbox, the free and open IPAM and DCIM solution.","org.label-schema.name":"Netbox Docker","org.label-schema.schema-version":"1.0","org.label-schema.url":"https://github.com/netbox-community/netbox-docker","org.label-schema.usage":"https://github.com/netbox-community/netbox-docker/wiki","org.label-schema.vcs-ref":"e9a9d9b70bb1afaaeb4d120ce37263372f67c6af","org.label-schema.vcs-url":"https://github.com/netbox-community/netbox-docker.git","org.label-schema.vendor":"The netbox-docker contributors.","org.label-schema.version":"0.24.1","org.opencontainers.image.authors":"The netbox-docker contributors.","org.opencontainers.image.created":"2020-06-23T05:48+00:00","org.opencontainers.image.description":"A container based distribution of Netbox, the free and open IPAM and DCIM solution.","org.opencontainers.image.documentation":"https://github.com/netbox-community/netbox-docker/wiki","org.opencontainers.image.licenses":"Apache-2.0","org.opencontainers.image.revision":"e9a9d9b70bb1afaaeb4d120ce37263372f67c6af","org.opencontainers.image.source":"https://github.com/netbox-community/netbox-docker.git","org.opencontainers.image.title":"Netbox Docker","org.opencontainers.image.url":"https://github.com/netbox-community/netbox-docker","org.opencontainers.image.vendor":"The netbox-docker contributors.","org.opencontainers.image.version":"0.24.1"}
The text was updated successfully, but these errors were encountered: