Skip to content

LDAP authentication documentation: add paragraph about group creation required. #2988

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

Closed
nicobbg opened this issue Mar 11, 2019 · 0 comments · Fixed by #3817
Closed

LDAP authentication documentation: add paragraph about group creation required. #2988

nicobbg opened this issue Mar 11, 2019 · 0 comments · Fixed by #3817
Labels
status: accepted This issue has been accepted for implementation type: documentation A change or addition to the documentation

Comments

@nicobbg
Copy link

nicobbg commented Mar 11, 2019

Change Type

[X] Addition
[ ] Correction
[ ] Deprecation
[ ] Cleanup (formatting, typos, etc.)

Proposed Changes

On the netbox ldap configuration page it would be great to explain that the three users groups (is_active, is_staff, is_superuser) must exist in the LDAP directory otherwise authentication will fail while trying to retrieve the user group mapping.

Reason; Netbox is trying to retrieve permissions using an LDAP compareRequest, however if one of the group is not present in the LDAP directory, the LDAP server may reply with a success response instead of compareResponse. Because of the implementation of the Python ldap module, such a response would lead to an exception and authentication will fail.

@DanSheps DanSheps added type: documentation A change or addition to the documentation status: accepted This issue has been accepted for implementation labels Mar 12, 2019
@hSaria hSaria mentioned this issue Jan 1, 2020
@lock lock bot locked as resolved and limited conversation to collaborators Apr 2, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
status: accepted This issue has been accepted for implementation type: documentation A change or addition to the documentation
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants