Ldap block_auto_created_users does not work

Hey @all,

I’ve try to setup block_auto_created_users for my ldap login. I’m using the omnibus image (version 10.5.1). I’ve never set the block_auto_created_users for my ldap settings, so every user could get a user with an valid ldap account (default setting is false), but now i want to validate identity (via myself) before grant access to my instance. So it make following setting in my gitlab.rb file (/etc/gitlab/gitlab.rb)

gitlab_rails['ldap_block_auto_created_users'] = true

but it simple does not work. I could login with a ldap-user which has no account in gitlab

Can anybody tell me if my settting is correct?

I’m using the info from https://docs.gitlab.com/omnibus/settings/ldap.html, but i’m not sure if ldap_block_auto_created_users is the correct setting

1 Like

Create https://gitlab.com/gitlab-org/gitlab-ce/issues/44345 a while ago. Still no answer… Help wanted !