[#770] unix_uid is updated with a false value [ldap]



Detailed description


we wrote an auth plugin with ldap auth and some extra authentication stuff for our company. One thing we need is that unix_uid from table users is the value of uidNumber in LDAP.

That works fine, but poorly this value is overridden by common/include/system/pgsql.class.php in the function sysCreateUser($userid). I think this update should set the status to active, but nothing more. The update of unixuid and unix_gid should only be executed if these field are 0 or null/empty.

General Information
Submitted by:
Philipp Keidel
Date Submitted: 2015-05-06 15:56
Last Modified by: Nobody
Last Modified: 2017-11-02 20:00
Permalink: https://fusionforge.org/tracker/a_follow.php/770
Internal Fields
Data Type: Bugs
Assigned to: Nobody (None)
State: Open
Priority: 3
Extra Fields
Target Release:
Follow-up tabs
Message  ↓
Date: 2015-06-19 11:49
Sender: Philipp Keidel

Hi, the main difference is the www/post-login.php

We check the LDAP credentials, check if the user is in a special LDAP group and activate/lock users automaticly if special checks pass/fail.

And the update of unix_uid is now commented out.

But I think this process is related to our company so it wouldn't work out of the box for everyone.

Date: 2015-05-12 12:14
Sender: Franck Villaume

hi, I was just wondering before looking at your report if you could share your "new" ldap plugin to see if there are some new features to be ported/implemented into the existing ldap plugin.

Regards, Franck

No attached documents

No related commits.

Field Old Value Date By
summaryunix_uid is updated with a false value2015-06-18 09:42
Sylvain Beucler

No relations found.