View ProjeQtOr On SourceForge.net
ProjeQtOr - Project Management Tool
Support us on Capterra
OIN - Open Invention Network
ProjeQtOr free project management software - Stop LDAP user creation - ProjeQtOr
 

Stop LDAP user creation

More
10 Sep 2012 10:37 #1 by gvecchi
Hello everybody.

I need to stop automatic LDAP user creation but still use LDAP authentication for already created users.

Any idea?

Thx

Please Log in or Create an account to join the conversation.

More
10 Sep 2012 15:41 #2 by babynus
Replied by babynus on topic Re: Stop LDAP user creation
Hi,

There is no easy planned way to do this.
You can try 2 things :

1) update code of /model/user.php, method authenticate.
Line 592, add line 'return "login"' :
if (!count($first_user) == 0) {	
  // Contact information based on the inetOrgPerson class schema
  return "login";
  if (isset( $first_user['mail'][0] )) {
It should do what you want, but you will have to re-apply this change on every new version upgrade.

2) Create a new profile with absolutely no access right, and select this profile in the global parameters screen.
This way, new users will still be created from LDAP, but new users wil have absolutely no access to the application.

Regards.
Babynus.

Babynus
Administrator of ProjeQtOr web site
The following user(s) said Thank You: gvecchi

Please Log in or Create an account to join the conversation.

More
10 Sep 2012 15:57 - 12 Sep 2012 10:42 #3 by gvecchi
Replied by gvecchi on topic Re: Stop LDAP user creation
I prefer 2 solution
Last edit: 12 Sep 2012 10:42 by gvecchi.

Please Log in or Create an account to join the conversation.

Moderators: babynusprotion
Time to create page: 0.038 seconds

Cookies settings

×

Functional Cookies

Ce site utilise des cookies pour assurer son bon fonctionnement et ne peuvent pas être désactivés de nos systèmes. Nous ne les utilisons pas à des fins publicitaires. Si ces cookies sont bloqués, certaines parties du site ne pourront pas fonctionner.

Session

Please login to see yours activities!

Other cookies

Ce site web utilise un certain nombre de cookies pour gérer, par exemple, les sessions utilisateurs.