LDAP NO SUCH OBJECT after trying to populate user model #1764

Closed
opened 2025-12-29 17:18:55 +01:00 by adam · 1 comment
Owner

Originally created by @clementtrebuchet on GitHub (May 31, 2018).

Issue type

[ ] Feature request
[x ] Bug report
[ ] Documentation

Environment

  • Python version: 3.6.5
  • NetBox version: 2.3.3

Description

After configuring the LDAP-specific variables in NetBox, we have an error after the authentication when provisioning the user model.
We are using an Microsoft Active Directory LDAP flavor.

  • List of the steps needed for someone else to reproduce the bug
    • Configure the LDAP VARS
    • Try to login with an AD account
  • Description of the expected and observed behavior
    • Expected:
      The user is able to login with it's AD account and it is replicated into the Netbox User model.
    • Observed :
      The user is no able to login with it's AD account and it is not replicated into the Netbox User model.
  • Relevant error messages
    image
Originally created by @clementtrebuchet on GitHub (May 31, 2018). <!-- Before opening a new issue, please search through the existing issues to see if your topic has already been addressed. Note that you may need to remove the "is:open" filter from the search bar to include closed issues. Check the appropriate type for your issue below by placing an x between the brackets. For assistance with installation issues, or for any other issues other than those listed below, please raise your topic for discussion on our mailing list: https://groups.google.com/forum/#!forum/netbox-discuss Please note that issues which do not fall under any of the below categories will be closed. Due to an excessive backlog of feature requests, we are not currently accepting any proposals which extend NetBox's feature scope. Do not prepend any sort of tag to your issue's title. An administrator will review your issue and assign labels as appropriate. ---> ### Issue type [ ] Feature request <!-- An enhancement of existing functionality --> [x ] Bug report <!-- Unexpected or erroneous behavior --> [ ] Documentation <!-- A modification to the documentation --> <!-- Please describe the environment in which you are running NetBox. (Be sure to verify that you are running the latest stable release of NetBox before submitting a bug report.) If you are submitting a bug report and have made any changes to the code base, please first validate that your bug can be recreated while running an official release. --> ### Environment * Python version: 3.6.5 * NetBox version: 2.3.3 <!-- BUG REPORTS must include: * A list of the steps needed for someone else to reproduce the bug * A description of the expected and observed behavior * Any relevant error messages (screenshots may also help) FEATURE REQUESTS must include: * A detailed description of the proposed functionality * A use case for the new feature * A rough description of any necessary changes to the database schema * Any relevant third-party libraries which would be needed --> ### Description After configuring the LDAP-specific variables in NetBox, we have an error after the authentication when provisioning the user model. We are using an Microsoft Active Directory LDAP flavor. - List of the steps needed for someone else to reproduce the bug - Configure the LDAP VARS - Try to login with an AD account - Description of the expected and observed behavior - Expected: The user is able to login with it's AD account and it is replicated into the Netbox User model. - Observed : The user is no able to login with it's AD account and it is not replicated into the Netbox User model. - Relevant error messages ![image](https://user-images.githubusercontent.com/8559910/40795470-7e624f92-6502-11e8-9178-aaa971adfd6f.png)
adam closed this issue 2025-12-29 17:18:55 +01:00
Author
Owner

@clementtrebuchet commented on GitHub (Jun 1, 2018):

Hello Folks,

Using the NestedGroupOfNamesType instead of GroupOfNamesType resolve the issue.

@clementtrebuchet commented on GitHub (Jun 1, 2018): Hello Folks, Using the NestedGroupOfNamesType instead of GroupOfNamesType resolve the issue.
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#1764