When a user is blocked in Active Directory, I want to ensure that the same user is not automatically blocked in GitLab at the same time. How can I prevent GitLab from blocking the user after an AD block?
The main reason people use LDAP with GitLab is so that all information for users is updated in LDAP and not in GitLab. Along with other user updates, blocking in LDAP is tied to user synchronization.
Therefore, the only way to turn off auto-blocking is to turn off user sync. In fact, you can't technically turn user sync off, but you can adjust the cron schedule so that it only runs once a year.