Page 1 of 1

LDAP and preventing User Signup

Posted: 16 May 2012, 13:05
by us3r
Hello,

I successfully installed MantisBT Version 1.2.10 and am at the moment busy configuring it to my needs.

I struggled for some time but managed yesterday to configure user login using a LDAP server. That works fine.

But I do not want every user listed in LDAP to be able to access the Mantis installation, I only want selected users to be able login.

After seraching for a while in Google, this Forum and the documentation, the only thing I found is $g_allow_signup and set it to OFF. Still, all LDAP users can create an account simply by logging in once.

Is there a way to prevent that?

I would like to define a list of users, and these users should be able to login using the LDAP username/password, but only those defined users.

Thank you very much.

Kind Regards

Us3r

Re: LDAP and preventing User Signup

Posted: 04 Jun 2012, 13:22
by us3r
Hi again,

after playing around a bit I found a workaround:

I set the default

$g_default_new_account_access_level = REPORTER;

to

$g_default_new_account_access_level = '';

This gives all users which just sign up an access error.

Those I want to allow to access the application I invite with a specific role or I can change the role of an automatic signed up user in the administrator area.

Cheers

Us3r

Re: LDAP and preventing User Signup

Posted: 14 Jan 2021, 21:01
by ekesaf
Is there a way for that?