[Bug 1854363]

2020-10-27 Thread Mozilla-kaply
This broke LDAP autoconfig.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] ReferenceError: processLDAPValues is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: [upstream] ReferenceError: processLDAPValues is not defined

2020-03-09 Thread Olivier Tilloy
This should now be fixed, as bionic and eoan have thunderbird 68.4.1, while 
focal has 68.5.0.
Feel free to re-open with a comment detailing the version you're running if 
this is still a problem.

** Changed in: thunderbird (Ubuntu Bionic)
   Status: Confirmed => Triaged

** Changed in: thunderbird (Ubuntu Bionic)
   Status: Triaged => Fix Released

** Changed in: thunderbird (Ubuntu)
   Status: Confirmed => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] ReferenceError: processLDAPValues is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: [upstream] ReferenceError: processLDAPValues is not defined

2020-01-14 Thread Olivier Tilloy
** Also affects: thunderbird (Ubuntu Bionic)
   Importance: Undecided
   Status: New

** Changed in: thunderbird (Ubuntu Bionic)
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Changed in: thunderbird (Ubuntu Bionic)
   Importance: Undecided => High

** Changed in: thunderbird (Ubuntu Bionic)
   Status: New => Confirmed

** Tags removed: rls-bb-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] ReferenceError: processLDAPValues is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: [upstream] ReferenceError: processLDAPValues is not defined

2020-01-10 Thread Ingar Smedstad
Ah. I see. That makes sense. I'll confess I did not study the code and
the fix since I thought I had found the culprit.

Anyway, someone is on the case and a solution is forthcoming. Can't ask
for more then that.

Thank you.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] ReferenceError: processLDAPValues is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: [upstream] ReferenceError: processLDAPValues is not defined

2020-01-10 Thread Bug Watch Updater
Launchpad has imported 80 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1576364.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2019-08-24T11:24:47+00:00 Jorgk-bmo wrote:

Set up an LDAP server as described in bug 1574712 comment #0. Tick the
SSL box.

You can look for "Alvarez" in the LDAP address book, but recipient 
auto-complete gives
Component returned failure code: 0x80590051 [nsIAbDirectoryQuery.doQuery] 2 
nsAbLDAPAutoCompleteSearch.js:261

Alice, can you check for us when that stopped working. Same regression
range as bug 1574712? Or did that stop working earlier?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/0


On 2019-08-24T11:48:38+00:00 Jorgk-bmo wrote:

> You can look for "Alvarez" in the LDAP address book ...

I got that wrong, that doesn't work either. Maybe Adams don't do SSL?
EDIT: Apparently they do: https://support.microfocus.com/kb/doc.php?id=7940314#

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/1


On 2019-08-24T11:57:11+00:00 Jorgk-bmo wrote:

Yes, TB 60.8 works with Adams + SSL for both address book search and
auto-complete.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/2


On 2019-08-24T13:31:34+00:00 Alice0775-t wrote:

Strange thing I found.

On Daily70.0a1 20190824095533 Windows10,
A. Restart TB > Open Compose Window > Type "Alvarez" in "To:" field > (GOOD)
B. Restart TB > Open Compose Window > Type "Alvarez" in "To:" field > (GOOD) > 
Search "Alvarez" in Contacts Sidebar(F9) > (BAD)
C. Restart TB > Open Compose Window > Search "Alvarez" in Contacts Sidebar(F9) 
> (GOOD) > Type "Alvarez" in "To:" field > (BAD)


Regression window:
https://hg.mozilla.org/comm-central/pushloghtml?startdate=2018-05-08+00%3A00%3A00=2018-05-11+11%3A00%3A00
https://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=59005ba3cd3e7b3f9e8804bea881bf4c3a755d7c=21f09d7e7214eaebf1e0980494159bd846e1bdd9


Unfortunately, the taskcluster builds are not available. (it expired) :(

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/3


On 2019-08-24T13:58:37+00:00 Jorgk-bmo wrote:

Thank you so much, Alice. So a regression from May 2018 in the 62 cycle.
No one noticed in over a year :-(

So at the beginning of your comment #3 you're saying that LDAP lookup
works in Daily with SSL enabled? At least the first time?

When I try it in a debug build, I crash:
```
xul.dll!DoOCSPRequest(const nsTString & aiaLocation, const 
mozilla::OriginAttributes & originAttributes, unsigned char[127] & ocspRequest, 
unsigned __int64 ocspRequestLength, 
mozilla::BaseTimeDuration timeout, 
mozilla::Vector & result) Line 435  
  C++
xul.dll!mozilla::psm::NSSCertDBTrustDomain::SynchronousCheckRevocationWithServer(const
 mozilla::pkix::CertID & certID, const nsTString & aiaLocation, 
mozilla::pkix::Time time, unsigned short maxOCSPLifetimeInDays, const 
mozilla::pkix::Result cachedResponseResult, const mozilla::pkix::Result 
stapledOCSPResponseResult) Line 766   C++
xul.dll!mozilla::psm::NSSCertDBTrustDomain::CheckRevocation(mozilla::pkix::EndEntityOrCA
 endEntityOrCA, const mozilla::pkix::CertID & certID, mozilla::pkix::Time time, 
mozilla::pkix::Duration validityDuration, const mozilla::pkix::Input * 
stapledOCSPResponse, const mozilla::pkix::Input * aiaExtension) Line 742 C++
xul.dll!mozilla::pkix::PathBuildingStep::Check(mozilla::pkix::Input 
potentialIssuerDER, const mozilla::pkix::Input * additionalNameConstraints, 
bool & keepGoing) Line 257  C++
xul.dll!mozilla::psm::CheckCandidates(mozilla::pkix::TrustDomain & trustDomain, 
mozilla::pkix::TrustDomain::IssuerChecker & checker, 
mozilla::Vector & 
candidates, mozilla::pkix::Input * nameConstraintsInputPtr, bool & keepGoing) 
Line 187C++
xul.dll!mozilla::psm::NSSCertDBTrustDomain::FindIssuer(mozilla::pkix::Input 
encodedIssuerName, mozilla::pkix::TrustDomain::IssuerChecker & checker, 
mozilla::pkix::Time) Line 332   C++
xul.dll!mozilla::pkix::BuildForward(mozilla::pkix::TrustDomain & trustDomain, 
const mozilla::pkix::BackCert & subject, mozilla::pkix::Time time, 
mozilla::pkix::KeyUsage requiredKeyUsageIfPresent, mozilla::pkix::KeyPurposeId 
r

[Bug 1854363] Re: [upstream] Typo in thunderbird code prevents central configuration

2020-01-10 Thread Olivier Tilloy
The typo is in the error message only, it's not what's causing the error
itself. This is more likely
https://bugzilla.mozilla.org/show_bug.cgi?id=1576364 (LDAP broken in
thunderbird 68 with SSL), which appears to be fixed by
https://hg.mozilla.org/releases/comm-
esr68/rev/53d07d9d7f746ebcdc46e98d8acc5ce3cf261d95, which is available
in 68.3.1, which I'm working on bringing to bionic.

** Bug watch added: Mozilla Bugzilla #1576364
   https://bugzilla.mozilla.org/show_bug.cgi?id=1576364

** Summary changed:

- [upstream] Typo in thunderbird code prevents central configuration
+ [upstream] ReferenceError: processLDAPValues is not defined

** Bug watch added: Mozilla Bugzilla #1576364
   https://bugzilla.mozilla.org/show_bug.cgi?id=1576364

** Changed in: thunderbird
   Importance: Medium => Unknown

** Changed in: thunderbird
   Status: New => Unknown

** Changed in: thunderbird
 Remote watch: Mozilla Bugzilla #1592922 => Mozilla Bugzilla #1576364

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] ReferenceError: processLDAPValues is not defined

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: [upstream] Typo in thunderbird code prevents central configuration

2020-01-07 Thread Sebastien Bacher
** Changed in: thunderbird (Ubuntu)
 Assignee: (unassigned) => Olivier Tilloy (osomon)

** Tags added: rls-bb-incoming

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] Typo in thunderbird code prevents central configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: [upstream] Typo in thunderbird code prevents central configuration

2020-01-06 Thread Ingar Smedstad
Any ETA for this? We use this to configure thunderbird for more than 100
users…

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] Typo in thunderbird code prevents central configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: [upstream] Typo in thunderbird code prevents central configuration

2019-12-12 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: thunderbird (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] Typo in thunderbird code prevents central configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: [upstream] Typo in thunderbird code prevents central configuration

2019-11-28 Thread Bug Watch Updater
Launchpad has imported 9 comments from the remote bug at
https://bugzilla.mozilla.org/show_bug.cgi?id=1592922.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2019-10-31T09:50:06+00:00 Mojmir21 wrote:

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:70.0)
Gecko/20100101 Firefox/70.0

Steps to reproduce:

Mozilla.cfg:
getLDAPAttributes("ldap.***.***.cz","ou=people,dc=fio,dc=cz","uid=" + 
env_user,"uid,cn,mail,labeledURI");


Actual results:

Error: getLDAPAttibutes fail: ReferenceError: processLDAPValues is not
defined


Expected results:

It should work with "getLDAPAttributes", not "getLDAPAttibutes". Last
version not afected is 60.9.0

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/0


On 2019-10-31T12:32:34+00:00 Jorgk-bmo wrote:

Mike, looks like a typo here in Mozilla core code:
https://searchfox.org/comm-central/rev/a1c52b2c68bc40266e42e193a785106e767db946/mozilla/extensions/pref/autoconfig/src/prefcalls.js#158

I'll do a patch and you can find the right component for it.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/1


On 2019-10-31T12:35:02+00:00 Jorgk-bmo wrote:

Created attachment 9105527
Bug 1592922 - Fix typo in autoconfig's prefcalls.js. r=mkaply DONTBUILD

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/2


On 2019-10-31T12:36:52+00:00 Jorgk-bmo wrote:

So what's the issue here? That there is a typo in the error message or
that the function doesn't work?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/3


On 2019-10-31T12:55:30+00:00 Mojmir21 wrote:

(In reply to Jorg K (GMT+2) from comment #3)
> So what's the issue here? That there is a typo in the error message or that 
> the function doesn't work?

The function doesn't work.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/4


On 2019-10-31T16:20:11+00:00 Pulsebot wrote:

Pushed by mozi...@jorgk.com:
https://hg.mozilla.org/integration/autoland/rev/eecadaaac3e5
Fix typo in autoconfig's prefcalls.js. r=mkaply DONTBUILD

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/5


On 2019-10-31T16:26:10+00:00 Jorgk-bmo wrote:

Mike, thanks for the review. I fully agree about the DONTBUILD, although
I've see M-C developers push comment changes of a few lines causing an
entire build.

Now that we fixed the typo, what can be said about the malfunction? What is 
that LDAP stuff residing in M-C? Does that call into TB's LDAP handling? It 
does, incredible:
https://searchfox.org/comm-central/rev/a1c52b2c68bc40266e42e193a785106e767db946/mozilla/extensions/pref/autoconfig/src/prefcalls.js#146
https://searchfox.org/comm-central/search?q=nsILDAPURL=false=false=
https://searchfox.org/comm-central/search?q=nsILDAPSyncQuery=false=false=

Note that TB's LDAP handling with SSL is broken in TB 68, see bug
1576364.

Ben, more LDAP chagrin.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/6


On 2019-10-31T21:38:18+00:00 Benc-q wrote:

Hmm.

1. The offending function, `processLDAPValues` doesn't appear to exist anywhere:
https://searchfox.org/comm-central/search?q=processLDAPValues=
Comment just above where it's called says "user supplied method".
I had to look it what the autoconfig module actually is - it's [MCD, Mission 
Control Desktop, AKA 
AutoConfig](https://developer.mozilla.org/en-US/docs/Archive/Misc_top_level/MCD,_Mission_Control_Desktop_AKA_AutoConfig)).
 The linked page has an example `processLDAPValues` function.

2. I really don't know what the status of the "autoconfig" module is.
Even supplying a `processLDAPValues` function, I suspect there might be
issues...

3. If it's supposed to work under both TB and Firefox, presumably its
LDAP support should be disabled under Firefox, given that the LDAP
support won't even be available? If it's TB-specific, then presumably
the whole module should be moved out into comm-central.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/comments/7

-

[Bug 1854363] Re: [upstream] Typo in thunderbird code prevents central configuration

2019-11-28 Thread Sebastien Bacher
** Changed in: thunderbird (Ubuntu)
   Importance: Undecided => High

** Tags added: regression-update

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] Typo in thunderbird code prevents central configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] Re: Typo in thunderbird code prevents central configuration

2019-11-28 Thread Olivier Tilloy
** Bug watch added: Mozilla Bugzilla #1592922
   https://bugzilla.mozilla.org/show_bug.cgi?id=1592922

** Also affects: thunderbird via
   https://bugzilla.mozilla.org/show_bug.cgi?id=1592922
   Importance: Unknown
   Status: Unknown

** Summary changed:

- Typo in thunderbird code prevents central configuration
+ [upstream] Typo in thunderbird code prevents central configuration

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  [upstream] Typo in thunderbird code prevents central configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1854363] [NEW] Typo in thunderbird code prevents central configuration

2019-11-28 Thread Ingar Smedstad
Public bug reported:

The latest thunderbird (1:68.2.1+build1-0ubuntu0.18.04.1) introduces a
typo that destroys our autoconfiguration.

Error messages:
Netscape.cfg/AutoConfig failed. Please contact your system administrator. 
 Error: getLDAPAttibutes failed: ReferenceError: processLDAPValues is not 
defined

Netscape.cfg/AutoConfig failed. Please contact your system administrator. 
 Error: authconfig.js failed failed: TypeError: userInfo.mail is undefined


Ref: https://bugzilla.mozilla.org/show_bug.cgi?id=1592922

I have downgraded thunderbird and confirmed that this happen when
upgrading to 1:68.2.1+build1


My system:
Description:Ubuntu 18.04.3 LTS
Release:18.04

apt policy thunderbird
thunderbird:
  Installed: 1:52.7.0+build1-0ubuntu1
  Candidate: 1:68.2.1+build1-0ubuntu0.18.04.1
  Version table:
 1:68.2.1+build1-0ubuntu0.18.04.1 500
500 http://ubuntu.uib.no/archive bionic-updates/main amd64 Packages
500 http://security.ubuntu.com/ubuntu bionic-security/main amd64 
Packages
 *** 1:52.7.0+build1-0ubuntu1 500
500 http://ubuntu.uib.no/archive bionic/main amd64 Packages
100 /var/lib/dpkg/status

** Affects: thunderbird (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1854363

Title:
  Typo in thunderbird code prevents central configuration

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/thunderbird/+bug/1854363/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs