Open
Bug 433868
Opened 16 years ago
Updated 15 years ago
Username matching when using Exchange Server 2007
Categories
(Bugzilla :: Incoming Email, enhancement)
Bugzilla
Incoming Email
Tracking
()
UNCONFIRMED
People
(Reporter: mh, Unassigned)
Details
Attachments
(1 file)
1.28 KB,
patch
|
mkanat
:
review-
|
Details | Diff | Splinter Review |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.14) Gecko/20080404 Firefox/2.0.0.14 Build Identifier: I played around with the email_in feature of bugzilla and realized that with my Exchange Server 2007 the username matching didn't work. We use SAMAccountName as login name for Bugzilla and LDAPmailattribute is also set to SAMAccountName. But the Exchange Server always sets the from address to the LDAP attribute "mail". Mail attribute differs to SAMAccountName and therefore it is not possible to submit anything. I wrote a little patch which searches in LDAP for the mail attribute and sets $username to the corresponding value of LDAPmailattribute. To enable my subroutine I added the parameter "emailadfromtranslator" to my params-file. For me this works quite well. I tested my patch with version 3.0.4. The Patch is made against CVS Head. Reproducible: Always Steps to Reproduce: 1. 2. 3.
Comment 2•15 years ago
|
||
Comment on attachment 321064 [details] [diff] [review] Patch to lookup username in LDAP You need to ask for review so that your patch shows up on people's radar. See http://www.bugzilla.org/docs/reviewer-list.html. I did it for you this time.
Attachment #321064 -
Flags: review?(mkanat)
Comment 3•15 years ago
|
||
Comment on attachment 321064 [details] [diff] [review] Patch to lookup username in LDAP Ohh, hmm. Instead of this, I think we should have a Bugzilla::User class method that looks up users from all possible auth methods that provide a lookup, and Auth methods can provide a "lookup" sub or something like that.
Attachment #321064 -
Flags: review?(mkanat) → review-
You need to log in
before you can comment on or make changes to this bug.
Description
•