Skip to content

Possible Bug while using AUTH_LDAP_MIRROR_GROUPS? #10284

Answered by kkthxbye-code
zmaster7 asked this question in Q&A
Discussion options

You must be logged in to vote

When AUTH_LDAP_FIND_GROUP_PERMS is enabled the AD is queried on every API request regardless of what user (there's no actual concept of local vs LDAP user in netbox). When the AD doesn't respond for whatever reason the request will hang.

When happening at random an example of a cause would be when the DNS entry for the AD has multiple IPs associated which will be used at random. If one or more of the IPs are inaccessible (blocked in firewall or not routed) the API will hang at random.

I recommend not using AUTH_LDAP_FIND_GROUP_PERMS unless absolutely necessary.

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@zmaster7
Comment options

@zmaster7
Comment options

Answer selected by zmaster7
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants