LDAP and preventing User Signup

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
us3r
Posts: 4
Joined: 16 May 2012, 12:55

LDAP and preventing User Signup

Post 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
us3r
Posts: 4
Joined: 16 May 2012, 12:55

Re: LDAP and preventing User Signup

Post 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
ekesaf
Posts: 9
Joined: 28 Dec 2020, 06:42

Re: LDAP and preventing User Signup

Post by ekesaf »

Is there a way for that?
Post Reply