totoroliu/open-build-service — comment on commit 5a65582e7315ab8ca1a3bf5cb49f37dbb08273ba
File:  line 0
By adrianschroeter:

In commit 0d25aa6d4a376f75905227ada1f529bb4bbf31aa I hopefully have fixed the new_user_registration=deny configuration also for LDAP (I have no test setup). When you set this, you need to create user object as admin to allow the user for login (using his ldap login&password) and you can also lock the user by setting his state to "locked" or "unconfirmed". The password in OBS user database should not matter when using LDAP and the user object is there.

Does this solve your use case ? (could you test ?;) It will be in obs-server 2.2.100 package in openSUSE:Tools:Unstable.