summaryrefslogtreecommitdiff
path: root/inc/auth
diff options
context:
space:
mode:
authorAndreas Gohr <andi@splitbrain.org>2008-02-19 17:56:59 +0100
committerAndreas Gohr <andi@splitbrain.org>2008-02-19 17:56:59 +0100
commit6a78ea3b4ee6d48ed2559e20378e7fa43b076cb9 (patch)
tree64772ae45da606310a1861d2e7f2a86bca1b396c /inc/auth
parent5faeb1e6522b7ca419826ec051b85207415f3f23 (diff)
downloadrpg-6a78ea3b4ee6d48ed2559e20378e7fa43b076cb9.tar.gz
rpg-6a78ea3b4ee6d48ed2559e20378e7fa43b076cb9.tar.bz2
add gidnumber to LDAP auth userdata FS#1338
darcs-hash:20080219165659-7ad00-e957772a651073b3e3af19c5300a6c6880c4876c.gz
Diffstat (limited to 'inc/auth')
-rw-r--r--inc/auth/ldap.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/auth/ldap.class.php b/inc/auth/ldap.class.php
index c2e96ba75..a9f4f4e21 100644
--- a/inc/auth/ldap.class.php
+++ b/inc/auth/ldap.class.php
@@ -188,6 +188,7 @@ class auth_ldap extends auth_basic {
// general user info
$info['dn'] = $user_result['dn'];
+ $info['gid'] = $user_result['gidnumber'][0];
$info['mail'] = $user_result['mail'][0];
$info['name'] = $user_result['cn'][0];
$info['grps'] = array();