← Back to team overview

registry team mailing list archive

[Bug 340532] Re: evolution 2.25.92 evolution-mapi evolution exits on mapi preferences authentication.

 

The problem with the workaround in the comment above is that for some
reason it doesn't make the calender component and the address book work.

So here is another stab at the problem (a very crude one as such): If
you encounter the issue, it's because you use Samba 3 in a configuration
that is not understood by the Samba 4 libraries linked into Evolution-
MAPI. The trick is to mutilate Samba 4 to the point that it simply
cannot find the incompatible Samba 3 configuration any more.

The approach below edits the affected Samba 4 binary libs such that
instead of the environment variable SMB_CONFIG_PATH they interpret
SMB4_DUMMY_PA and then supply that variable pointing nowhere. dpkg-
divert makes the change survive package upgrades by telling dpkg to
upgrade the original copy instead of the edited file. It also makes the
system ignore security updates of the affected Samba 4 libs :-( That
being said, here we go:

sudo su
mkdir /usr/lib/SMB4_DUMMY_PA
for lib in libdcerpc_atsvc.so.0.0.1 libdcerpc_samr.so.0.0.1 libdcerpc.so.0.0.1 libsamba-hostconfig.so.0.0.1 libndr.so.0.0.1; do
    dpkg-divert --divert /usr/lib/SMB4_DUMMY_PA/$lib --local --rename --add /usr/lib/$lib
    sed 's/SMB_CONF_PATH/SMB4_DUMMY_PA/' /usr/lib/SMB4_DUMMY_PA/$lib > /usr/lib/$lib
done
echo 'SMB4_DUMMY_PA=/etc/samba/smb4.conf' >> /etc/environment
reboot

-- 
evolution 2.25.92 evolution-mapi evolution exits on mapi preferences authentication.
https://bugs.launchpad.net/bugs/340532
You received this bug notification because you are a member of Registry
Administrators, which is the registrant for evolution mapi.