]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 408384: Set extern_id when using LDAP auth
authormkanat%bugzilla.org <>
Sat, 15 Dec 2007 00:17:29 +0000 (00:17 +0000)
committermkanat%bugzilla.org <>
Sat, 15 Dec 2007 00:17:29 +0000 (00:17 +0000)
Patch By Emmanuel Seyman <eseyman@linagora.com> r=mkanat, a=mkanat

Bugzilla/Auth/Verify/LDAP.pm

index b8dff397f600c11a77946376f3c151c8b38f3bbf..2cc2e8352479f70f3d8d49eb558683efbfb6592d 100644 (file)
@@ -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;
 }