[Samba] Samba upgrade issue . . .
L.P.H. van Belle
belle at bazuin.nl
Mon Jun 15 06:50:42 MDT 2015
look : winbind depends on samba (= 2:4.1.18+dfsg-3~inverse1); however:
>2:4.1.18+dfsg-3~inverse1
so mixed setup of ubuntu with inverse packages of samba.
You need to use the inverse packages of samba to keep openchange working.
I suggest you set your package pinning.
OR !
remove the inverse : winbind version and install the ubuntu version.
Greetz,
Louis
>-----Oorspronkelijk bericht-----
>Van: steve_a at cinergymetro.net
>[mailto:samba-bounces at lists.samba.org] Namens Steve Ankeny
>Verzonden: maandag 15 juni 2015 13:27
>Aan: samba at lists.samba.org
>Onderwerp: Re: [Samba] Samba upgrade issue . . .
>
>On 06/15/2015 07:14 AM, Rowland Penny wrote:
>> On 15/06/15 11:52, Steve Ankeny wrote:
>>> I have a "Samba | SOGo | OpenChange" server running in VMware.
>>>
>>> I get the following message when running 'apt-get upgrade' --
>>>
>>> The following packages have been kept back:
>>> libldb-dev libldb1 libmapi0 libmapiproxy0 libmapistore0
>libnss-winbind
>>> libpam-winbind libsmbclient libwbclient0 openchangeproxy
>>> openchangeserver
>>> python-ldb python-ocsmanager python-samba samba samba-common
>>> samba-common-bin samba-dev samba-dsdb-modules samba-libs
>>> samba-vfs-modules
>>> smbclient sogo sogo-activesync sogo-openchange winbind
>>> 0 upgraded, 0 newly installed, 0 to remove and 26 not upgraded.
>>>
>>> I've taken a "snapshot" of my virtual machine, and I've ran
>'apt-get
>>> install --s' to see if there are any potential errors (and
>there are
>>> none) However, when I actually attempt the install, I find the
>>> following --
>>>
>>> The following NEW packages will be installed:
>>> libgnutls28 libhogweed2 libnettle4 python-mapistore python-rpclib
>>> python-sievelib python-spyne python-support python-tz
>>> The following packages will be upgraded:
>>> libldb-dev libldb1 libmapi0 libmapiproxy0 libmapistore0
>libnss-winbind
>>> libpam-winbind libsmbclient libwbclient0 openchangeproxy
>>> openchangeserver
>>> python-ldb python-ocsmanager python-samba samba samba-common
>>> samba-common-bin samba-dev samba-dsdb-modules samba-libs
>>> samba-vfs-modules
>>> smbclient sogo sogo-activesync sogo-openchange winbind
>>> 26 upgraded, 9 newly installed, 0 to remove and 3 not upgraded.
>>> Need to get 17.5 MB of archives.
>>>
>>> In the text that follows, problems seem to start here --
>>>
>>> dpkg: error processing package samba (--configure):
>>> subprocess installed post-installation script returned error exit
>>> status 1
>>> dpkg: dependency problems prevent configuration of winbind:
>>> winbind depends on samba (= 2:4.1.18+dfsg-3~inverse1); however:
>>> Package samba is not configured yet.
>>>
>>>
>>> Doing a bit of research, I find a suggestion here --
>>>
>>>
>http://languor.us/samba-subprocess-post-installation-script-ret
>urned-error-exit-status-1
>>>
>>>
>>> "create a blank smb.conf in /etc/samba, then purge and
>reinstall samba"
>>>
>>> *Is this the fix for this specific error?* I am concerned about
>>> purging my Samba DB
>>>
>>> Currently, I have the following installed --
>>>
>>> adam at sogo:~$ sudo dpkg-query -l | egrep 'samba|smb|nmb|winbind'
>>> ii libnss-winbind:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii libpam-winbind:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii libsmbclient:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii libwbclient0:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii python-samba 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii samba 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii samba-common 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii samba-common-bin 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii samba-dev 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii samba-dsdb-modules 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii samba-libs:amd64 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii samba-vfs-modules 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii smbclient 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>> ii winbind 2:4.1.6+dfsg-1ubuntu2.14.04.7
>>>
>>> My current 'smb.conf. reads --
>>>
>>> # Global parameters
>>> [global]
>>> workgroup = MEADORANDCO
>>> realm = meadorandco.com
>>> netbios name = SOGO
>>> server role = active directory domain controller
>>> dns forwarder = 192.168.121.1
>>> idmap_ldb:use rfc2307 = yes
>>> passdb backend = samba
>>> allow dns updates = nonsecure
>>>
>>> ### Configuration required by OpenChange server ###
>>> #dcerpc endpoint servers = epmapper, mapiproxy, dnsserver
>>> #dcerpc endpoint servers = +epmapper, +mapiproxy
>>> #dcerpc_mapiproxy:server = true
>>> #dcerpc_mapiproxy:interfaces = exchange_emsmdb,
>exchange_nsp,
>>> exchange_ds_rfr
>>> ### Configuration required by OpenChange server ###
>>>
>>> #mapistore:namedproperties = mysql
>>> #namedproperties:mysql_user = openchange-user
>>> #namedproperties:mysql_pass = $passwd
>>> #namedproperties:mysql_host = localhost
>>> #namedproperties:mysql_db = openchange
>>> #mapistore:indexing_backend =
>>> mysql://openchange-user:$passwd@localhost/openchange
>>> #mapiproxy:openchangedb =
>>> mysql://openchange-user:$passwd@localhost/openchange
>>>
>>> [netlogon]
>>> path = /var/lib/samba/sysvol/meadorandco.com/scripts
>>> read only = No
>>>
>>> [sysvol]
>>> path = /var/lib/samba/sysvol
>>> read only = No
>>>
>>> As you can see, I have commented out the 'dcerpc' calls, as I had
>>> problems with those.
>>>
>>> I believe Rowland suggested using 'dcerpc endpoint servers =
>>> +epmapper, +mapiproxy' but I will have to review his suggestion
>>> before using OpenChange. It may be I have to do that before the
>>> upgrade.
>>>
>>> Any help would be appreciated. *What is the specific fix for
>>> subprocess post-installation**error?*
>>>
>>> thx
>>>
>>
>> What OS are you upgrading on ? where did the old samba packages come
>> from, your OS or inverse, where do think the new packages are coming
>> from ?
>>
>> I do not use sogo any more, more because of problems like this than
>> anything else, I personally don't think openchange will get anywhere
>> until you can install it on top of *any* version of samba4, not a
>> specific version as at present. Having said that, if I check what
>> 'dcerpc endpoint servers' are running on my DC, I get this:
>>
>> dcerpc endpoint servers = epmapper, wkssvc, rpcecho, samr, netlogon,
>> lsarpc, spoolss, drsuapi, dssetup, unixinfo, browser, eventlog6,
>> backupkey, dnsserver
>>
>> So you only need to add 'mapiproxy' as 'epmapper' is already running.
>>
>> Rowland
>>
>
>adam at sogo:~$ lsb_release -a
>No LSB modules are available.
>Distributor ID: Ubuntu
>Description: Ubuntu 14.04.2 LTS
>Release: 14.04
>Codename: trusty
>
>The initial Samba packages from from Ubuntu repositories, and the new
>ones come from Inverse.
>
>I've been happy with SOGo & OpenChange until this round of upgrades (I
>wasn't using Samba then)
>
>thx, Rowland
>
>
>--
>To unsubscribe from this list go to the following URL and read the
>instructions: https://lists.samba.org/mailman/options/samba
>
>
More information about the samba
mailing list