Recent samba updates broke mapi

Bug #1571854 reported by James Stevenson
172
This bug affects 30 people
Affects Status Importance Assigned to Milestone
evolution-mapi (Ubuntu)
High
Ubuntu Security Team

Bug Description

When running from the command line i get the following errors

(evolution:3630): camel-CRITICAL **: camel_provider_list: Could not load /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference

(evolution:3630): e-data-server-WARNING **: module_load: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference
Failed to load module: /usr/lib/evolution/modules/module-mapi-configuration.so

(evolution:3630): camel-WARNING **: Failed to initialize NSS SQL database in sql:/etc/pki/nssdb: NSS error -8126

** (evolution:3630): WARNING **: Failed to add service 'mail@removed' (1455129916.2237.4@james-desktop): No provider available for protocol 'mapi'

** (evolution:3630): WARNING **: Failed to add service 'mail@removed' (1455129916.2237.16@james-desktop): No provider available for protocol 'mapi'

** (evolution:3630): CRITICAL **: mail_session_refresh_cb: assertion 'service != NULL' failed

** (evolution:3630): CRITICAL **: mail_session_refresh_cb: assertion 'service != NULL' failed

(evolution-alarm-notify:3672): camel-CRITICAL **: camel_provider_list: Could not load /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in evolution (Ubuntu):
status: New → Confirmed
Revision history for this message
christophe (christophe-masutti) wrote :

Indeed. It affects me, with the following logs :

** (evolution:3905): CRITICAL **: categories_icon_theme_hack: assertion 'filename != NULL && *filename != '\0'' failed

(evolution:3905): camel-CRITICAL **: camel_provider_list: Impossible de charger /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so : /usr/lib/i386-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference

(evolution:3905): libebackend-WARNING **: module_load: /usr/lib/i386-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference
Failed to load module: /usr/lib/evolution/3.10/modules/module-mapi-configuration.so

(evolution:3905): camel-WARNING **: Failed to initialize NSS SQL database in sql:/etc/pki/nssdb: NSS error -8126

(evolution-alarm-notify:3911): camel-CRITICAL **: camel_provider_list: Impossible de charger /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so : /usr/lib/i386-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference

(evolution:3905): Gtk-CRITICAL **: gtk_entry_set_text: assertion 'text != NULL' failed

Revision history for this message
Corey Reichle (corey-reichle) wrote :

Same output as James Stevenson when launching Evolution with the MAPI plugin. Definitley appears to be a symbol problem on the libmapi.so library.

Revision history for this message
Corey Reichle (corey-reichle) wrote :

It also appears that downgrading the library package is not a possible solution via apt-get, as it cannot downgrade other packages as well (Mostly Desktop core components, such as Nautilus)

Revision history for this message
Jesus Feliz Fernandez (janzun-w) wrote :

Same here with evolution and EWS account since upgrade last night. It prompts for pass and allways says "wrong password". Downgrade is complicated and it has security risks.

Revision history for this message
James Stevenson (ja7es) wrote :

Anyone tried recompiling the module yet?

Revision history for this message
Corey Reichle (corey-reichle) wrote :

I *think* I'm building the proper package currently. Will report back and see if a sub-in works.

Revision history for this message
Corey Reichle (corey-reichle) wrote :

Built openchange from their git repo, and subbed in the compiled libmapi.so from that project. Tried launching Evolution, and re-creating the account, which led to this:

--BEGIN CUT---
(evolution:2239): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(evolution:2239): camel-WARNING **: Failed to initialize NSS SQL database in sql:/etc/pki/nssdb: NSS error -8126
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Failed to parse dcerpc binding 'ncacn_ip_tcp:[server redacted][seal,]'
Failed to parse dcerpc binding 'ncacn_ip_tcp:[server redacted][seal,]'
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Failed to parse dcerpc binding 'ncacn_ip_tcp:[server redacted][seal,]'
Failed to parse dcerpc binding 'ncacn_ip_tcp:[server redacted][seal,]'
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
Failed to parse dcerpc binding 'ncacn_ip_tcp:[server redacted][seal,]'
Failed to parse dcerpc binding 'ncacn_ip_tcp:[server redacted][seal,]'
Gtk-Message: GtkDialog mapped without a transient parent. This is discouraged.
---END CUT---

I used the source provided from this git repo:
https://github.com/openchange/openchange.git

Revision history for this message
baumgrass (baumgrass) wrote :

Same here.

Evolution (3.10.4) MAPI-Support just disappeared after last update of Ubuntu 14.04 LTS-64-Bit.

It's gone... tried to reinstall via apt-get. No difference.

I used it for years to connect to an Exchange 2003 Server.

It's a pity. It just worked... :-(

Revision history for this message
Marc Olzheim (zlo-zlo) wrote :

In aptitude, purging samba, winbind, libnss-winbind and libpam-winbind fixed it for me.

Revision history for this message
baumgrass (baumgrass) wrote :

Not in my case.

Purging as you did and reinstallation of evolution-mapi does not make any difference.

MAPI-Support in Evolution still missing.

Revision history for this message
Jose Sanchez-Seco (josnix) wrote :

Not sure if affected by same bug: I'm using evolution-ews, but NTLM auth is broken since samba upgrade.
Also, I can't connect to windows shares like I used to do before samba upgrade.

Revision history for this message
Shannon Smith (ssmith) wrote :

Same issue here on 15.10

(evolution:1731): Gtk-WARNING **: Failed to register client: GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files

(evolution:1731): camel-CRITICAL **: camel_provider_list: Could not load /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference

(evolution:1731): e-data-server-WARNING **: module_load: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference
Failed to load module: /usr/lib/evolution/modules/module-mapi-configuration.so

(evolution-alarm-notify:1763): camel-CRITICAL **: camel_provider_list: Could not load /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference

Even after purging and reinstalling all of Evolution and deleting all config files does not seem to bring it back.

Revision history for this message
Marc Olzheim (zlo-zlo) wrote :

Ah, yes, purging helped for me because we use ews instead of mapi. ews support was broken as well.

Revision history for this message
Jose Sanchez-Seco (josnix) wrote :

Marc, have you been able to remove/purge and reinstall samba, winbind, etc...? What version are you running? Can you give us some details?

Revision history for this message
Jose Sanchez-Seco (josnix) wrote :

Solve for me. Remember I'm using evolution-mapi.

Found this bug: https://bugzilla.redhat.com/show_bug.cgi?id=1327072

Applied workaround (rename ntlm_auth or apt-get remove winbind) and it works!

It's not the definitive solution, but at least I can use Evolution like yesterday morning...

Revision history for this message
Jose Sanchez-Seco (josnix) wrote :

Sorry, I mean I'm using evolution-ews.

Revision history for this message
jesus salcie (jsalcie-m) wrote :

Same error Here
 evolution

(evolution:26952): camel-CRITICAL **: camel_provider_list: Could not load /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference

(evolution:26952): libebackend-WARNING **: module_load: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference
Failed to load module: /usr/lib/evolution/3.10/modules/module-mapi-configuration.so

Revision history for this message
baumgrass (baumgrass) wrote :

Can anyone please confirm that evolution-mapi will be missing in xenial?

Can anyone please confirm that evolution-mapi is still working (at least selectable as an protocol in evolution) in wily?

Revision history for this message
Corey Reichle (corey-reichle) wrote :

As of now, with an updated Wily system, evolution-mapi is not working, and not selectable as a protocol, due to failure to load the module (as seen above in console output).

Revision history for this message
christophe (christophe-masutti) wrote :

I'm using Evolution + mapi (with my LinuxMint distrib) in a Microsoft Exchange environment. I think i'm not alone in this case. This bug affects me because I have to use Microsoft products, until the bug will be fixed.

Revision history for this message
Cronos (rossimattia92) wrote :

with evolution-ews removing samba correlated package it works well.

Revision history for this message
eugeny (eugenybu) wrote :

same here - Evolution+mapi
Downgrading samba did not help

(evolution:9462): libebackend-WARNING **: module_load: /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time reference
Failed to load module: /usr/lib/evolution/3.10/modules/module-mapi-configuration.so

no longer affects: evolution
affects: evolution (Ubuntu) → evolution-mapi (Ubuntu)
Changed in evolution-mapi (Ubuntu):
assignee: nobody → Ubuntu Security Team (ubuntu-security)
importance: Undecided → High
Revision history for this message
Sebastien Bacher (seb128) wrote :

Indeed, mapi is incompatible with the new samba stack and was removed from Debian/Ubuntu 16.04 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804333) it's a bit unfortunate that for security reason samba has to be updated in trusty as well which made mapi stop working there now :-/

Revision history for this message
Cronos (rossimattia92) wrote : Re: [Bug 1571854] Re: Recent samba updates broke mapi

yeah, but evolution-ews it's affected too

2016-04-22 15:25 GMT+02:00 Sebastien Bacher <email address hidden>:

> Indeed, mapi is incompatible with the new samba stack and was removed
> from Debian/Ubuntu 16.04 (https://bugs.debian.org/cgi-
> bin/bugreport.cgi?bug=804333) it's a bit unfortunate that for security
> reason samba has to be updated in trusty as well which made mapi stop
> working there now :-/
>
> ** Bug watch added: Debian Bug tracker #804333
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=804333
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1571854
>
> Title:
> Recent samba updates broke mapi
>
> Status in evolution-mapi package in Ubuntu:
> Confirmed
>
> Bug description:
>
> When running from the command line i get the following errors
>
> (evolution:3630): camel-CRITICAL **: camel_provider_list: Could not
> load /usr/lib/evolution-data-server/camel-providers/libcamelmapi.so:
> /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS,
> version SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with
> link time reference
>
> (evolution:3630): e-data-server-WARNING **: module_load:
> /usr/lib/x86_64-linux-gnu/libmapi.so.0: symbol DEBUGLEVEL_CLASS, version
> SAMBA_UTIL_0.0.1 not defined in file libsamba-util.so.0 with link time
> reference
> Failed to load module:
> /usr/lib/evolution/modules/module-mapi-configuration.so
>
> (evolution:3630): camel-WARNING **: Failed to initialize NSS SQL
> database in sql:/etc/pki/nssdb: NSS error -8126
>
> ** (evolution:3630): WARNING **: Failed to add service 'mail@removed'
> (1455129916.2237.4@james-desktop): No provider available for protocol
> 'mapi'
>
> ** (evolution:3630): WARNING **: Failed to add service 'mail@removed'
> (1455129916.2237.16@james-desktop): No provider available for protocol
> 'mapi'
>
> ** (evolution:3630): CRITICAL **: mail_session_refresh_cb: assertion
> 'service != NULL' failed
>
> ** (evolution:3630): CRITICAL **: mail_session_refresh_cb: assertion
> 'service != NULL' failed
>
> (evolution-alarm-notify:3672): camel-CRITICAL **: camel_provider_list:
> Could not load /usr/lib/evolution-data-server/camel-
> providers/libcamelmapi.so: /usr/lib/x86_64-linux-gnu/libmapi.so.0:
> symbol DEBUGLEVEL_CLASS, version SAMBA_UTIL_0.0.1 not defined in file
> libsamba-util.so.0 with link time reference
>
> To manage notifications about this bug go to:
>
> https://bugs.launchpad.net/ubuntu/+source/evolution-mapi/+bug/1571854/+subscriptions
>

Revision history for this message
Corey Reichle (corey-reichle) wrote :

Hrm... Well, it'd be nice to at least figure out downgrade instructions. In this case, I'll choose the security hole over the inability for a piece of software to function.

Revision history for this message
Corey Reichle (corey-reichle) wrote :

Well, in my case purging samba, evolution-mapi, evolution-ews, winbind, libnss-winbind and libpam-winbind; and then installing evolution-ews worked after setting my account back up.

I did have to swap to basic auth, however.

Revision history for this message
Regina Ochotzki (regina-ochotzki) wrote :

Same issue here, since last update cannot connect to windows shares anymore and MAPI in evolution is gone. Since I'm an Ubuntu Newby I would appreciate a workaround for both issues.

Revision history for this message
Christian Stern (christian-stern-b) wrote :

Hmm, what a pity, for me there is no option to purge samba, libnss-winbind and libpam-winbind to get evolution-ews up and running again.
I badly need both together working.

Revision history for this message
Jocker (jocker) wrote :

instead of purging, try downgrading, as suggested in

https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1572876/comments/12

it worked for me! :)

Revision history for this message
Regina Ochotzki (regina-ochotzki) wrote :

Oh thank you very much. Downgrade worked for me. Now I finally can access the windows shares again :-)

Revision history for this message
Mauro Michelotti (mauro-michelotti) wrote :

Downgrade worked for me too.
I used the first fix and I can use Evolution/MAPI again.
Tnx

Revision history for this message
Axel H. (staff-pro-unreal) wrote :

Downgrading worked for me as well. I also locked the affected samba packages via Synaptic to prevent automatic updates until this issue is fixed.

Thanks for sharing a workaround.

Revision history for this message
Erik Rull (erik-rull) wrote :

Is there a schedule for releasing the fix? It's now already 2 months ago the last comment was posted. It's still existing in ubuntu 14.04 lts.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

I already updated libsoup to fix the ntlm_auth incompatibility.

evolution-mapi will not work with recent samba because openchange is incompatible, and is unlikely to get fixed.

I suggest moving to evolution-ews.

Revision history for this message
Jens Meiß (jens-meiss) wrote :

Hi,

the last comment is more than a year ago, ist there a solution for this problem?

I just installed Ubuntu 16.04, evolution and evolution-ews and run into this issue...

Revision history for this message
Josef Hopfgartner (josef-netzagentur) wrote :

Hi,
I'm using:
Ubuntu 18.04
Evolution EWS plugin
Samba/Winbind 4.7.6

Samba is configured as AD domain member of DOMAIN1 via winbind.
Exchange is hosted on DOMAIN2.

Local unix users "testLocal" (user.name@DOMAIN2) get authenticated via EWS-Plugin.

Winbind users "testDomain" won't get authenticated.

The authentication process asks DOMAIN1 for Exchange user information and fails.

After "systemctl restart winbind.service" within the running user session EWS plugin works as expected.

After logout-login cycle winbind.serice has to be restarted again, so that EWS plugin works.

Seems to be related to kerberos authentication...

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.