aboutsummaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth/Verify
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-12-15 00:17:29 +0000
committermkanat%bugzilla.org <>2007-12-15 00:17:29 +0000
commit87c4017926b4f2b137df629332c6cfcb3895cc1d (patch)
tree2ca47f19e2a0b53eb9d2a1475709834e1d40a6c8 /Bugzilla/Auth/Verify
parent7cf695517efa17b200f31ed4c934af8839153e44 (diff)
downloadbugs-87c4017926b4f2b137df629332c6cfcb3895cc1d.tar
bugs-87c4017926b4f2b137df629332c6cfcb3895cc1d.tar.gz
bugs-87c4017926b4f2b137df629332c6cfcb3895cc1d.tar.bz2
bugs-87c4017926b4f2b137df629332c6cfcb3895cc1d.tar.xz
bugs-87c4017926b4f2b137df629332c6cfcb3895cc1d.zip
Bug 408384: Set extern_id when using LDAP auth
Patch By Emmanuel Seyman <eseyman@linagora.com> r=mkanat, a=mkanat
Diffstat (limited to 'Bugzilla/Auth/Verify')
-rw-r--r--Bugzilla/Auth/Verify/LDAP.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Bugzilla/Auth/Verify/LDAP.pm b/Bugzilla/Auth/Verify/LDAP.pm
index b8dff397f..2cc2e8352 100644
--- a/Bugzilla/Auth/Verify/LDAP.pm
+++ b/Bugzilla/Auth/Verify/LDAP.pm
@@ -114,6 +114,8 @@ sub check_credentials {
$params->{realname} ||= $user_entry->get_value("displayName");
$params->{realname} ||= $user_entry->get_value("cn");
+ $params->{extern_id} = $username;
+
return $params;
}