From: mkanat%bugzilla.org <> Date: Sat, 15 Dec 2007 00:17:29 +0000 (+0000) Subject: Bug 408384: Set extern_id when using LDAP auth X-Git-Tag: bugzilla-3.1.3~428 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=87c4017926b4f2b137df629332c6cfcb3895cc1d;p=thirdparty%2Fbugzilla.git Bug 408384: Set extern_id when using LDAP auth Patch By Emmanuel Seyman r=mkanat, a=mkanat --- diff --git a/Bugzilla/Auth/Verify/LDAP.pm b/Bugzilla/Auth/Verify/LDAP.pm index b8dff397f6..2cc2e83524 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; }