summaryrefslogtreecommitdiffstats
path: root/Bugzilla/Auth
diff options
context:
space:
mode:
authormkanat%bugzilla.org <>2007-12-15 01:17:29 +0100
committermkanat%bugzilla.org <>2007-12-15 01:17:29 +0100
commit87c4017926b4f2b137df629332c6cfcb3895cc1d (patch)
tree2ca47f19e2a0b53eb9d2a1475709834e1d40a6c8 /Bugzilla/Auth
parent7cf695517efa17b200f31ed4c934af8839153e44 (diff)
downloadbugzilla-87c4017926b4f2b137df629332c6cfcb3895cc1d.tar.gz
bugzilla-87c4017926b4f2b137df629332c6cfcb3895cc1d.tar.xz
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')
-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;
}