Closed
Bug 370004
Opened 17 years ago
Closed 17 years ago
Overriding the default attribute map on a per-LDAP directory basis won't work.
Categories
(MailNews Core :: LDAP Integration, defect)
MailNews Core
LDAP Integration
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: standard8, Assigned: standard8)
Details
(Keywords: fixed-seamonkey1.1.1, fixed1.8.1.2)
Attachments
(1 file)
1.93 KB,
patch
|
Bienvenu
:
review+
Bienvenu
:
superreview+
mscott
:
approval-thunderbird2+
|
Details | Diff | Splinter Review |
If I have a LDAP server ldap_2.servers.foo and I define ldap_2.servers.foo.attrmap.Custom4 to only override the attribute for that server, it doesn't override the ldap_2.servers.default.attrmap.Custom4 value. Basically, we're passing the wrong pref name to get the full attribute map - we're passing ldap_2.servers.foo.maxHits instead of ldap_2.servers.foo. This isn't a regression - it seems to have been wrong from the time when we got the attribute map code. The attached patch changes the call to use m_DirPrefId which is the proper thing to use (in theory the code that gets maxHits could be simplified as well, but I'll address that in a separate bug).
Attachment #254678 -
Flags: superreview?(bienvenu)
Attachment #254678 -
Flags: review?(bienvenu)
Comment 1•17 years ago
|
||
Comment on attachment 254678 [details] [diff] [review] The fix thx, Mark!
Attachment #254678 -
Flags: superreview?(bienvenu)
Attachment #254678 -
Flags: superreview+
Attachment #254678 -
Flags: review?(bienvenu)
Attachment #254678 -
Flags: review+
Assignee | ||
Comment 2•17 years ago
|
||
Comment on attachment 254678 [details] [diff] [review] The fix Patch checked into trunk. Requesting approval for 1.8 branch.
Attachment #254678 -
Flags: approval-thunderbird2?
Assignee | ||
Comment 3•17 years ago
|
||
Fixed on trunk.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•17 years ago
|
Attachment #254678 -
Flags: approval-thunderbird2? → approval-thunderbird2+
Assignee | ||
Comment 4•17 years ago
|
||
Checked into 1.8 branch.
Keywords: fixed-seamonkey1.1.1,
fixed1.8.1.2
Updated•16 years ago
|
Product: Core → MailNews Core
You need to log in
before you can comment on or make changes to this bug.
Description
•