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 [email protected]:
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&case=false&regexp=false&path=
https://searchfox.org/comm-central/search?q=nsILDAPSyncQuery&case=false&regexp=false&path=

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&path=
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

------------------------------------------------------------------------
On 2019-11-01T03:57:47+00:00 Shindli wrote:

https://hg.mozilla.org/mozilla-central/rev/eecadaaac3e5

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


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

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

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

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

Status in Mozilla Thunderbird:
  New
Status in thunderbird package in Ubuntu:
  New

Bug description:
  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

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

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to