Configure LDAP authentication against an Active Directory in ldap_config.py, with permission inheritance like so:
from django_auth_ldap.config import LDAPSearch, NestedGroupOfNamesType
Grant active state and read access to the default group "Domain Users $domain/Users".
Try to authenticate with a user that is not granted active state elsewhere.
Expected Behavior
The user should be able to log in and read.
Observed Behavior
The authentication succeeds on the AD without errors or warnings but the user is denied login with the error message "This account is inactive".
Deployment Type
Self-hosted
NetBox Version
v4.1.1
Python Version
3.10
Steps to Reproduce
Configure LDAP authentication against an Active Directory in ldap_config.py, with permission inheritance like so:
from django_auth_ldap.config import LDAPSearch, NestedGroupOfNamesType
Grant active state and read access to the default group "Domain Users $domain/Users".
Try to authenticate with a user that is not granted active state elsewhere.
Expected Behavior
The user should be able to log in and read.
Observed Behavior
The authentication succeeds on the AD without errors or warnings but the user is denied login with the error message "This account is inactive".