[Pkg-samba-maint] Bug#708447: samba4: Error upgrade from samba3 with parameter workgroup = WORKGROUP and realm = WORKGROUP
Mc.Sim
mc-sim85 at mail.ru
Wed May 15 19:29:38 UTC 2013
Package: samba4
Version: 4.0.0~beta2+dfsg1-3.2
Severity: important
Dear Maintainer,
I didn't remove samba 3.6.6 (only stop service) and installed samba4.
In smb.conf I have parameter workgroup = WORKGROUP and some deprecated (such us os level = and others)
aptitude install samba4 show me error and doesn't finish install correct:
=================================
MEDIA ~ # aptitude install samba4
<...blah-blah...>
Administrator password will be set randomly!
ProvisioningError: guess_names: Realm 'WORKGROUP' must not be equal to short domain name 'WORKGROUP'!
dpkg: ошибка при обработке параметра samba4 (--configure):
подпроцесс установлен сценарий post-installation возвратил код ошибки 1
<...blah-blah...>
При обработке следующих пакетов произошли ошибки:
samba4
E: Sub-process /usr/bin/dpkg returned an error code (1)
Не удалось установить пакет. Попытка восстановить:
Настраивается пакет samba4 (4.0.0~beta2 dfsg1-3.2) …
Administrator password will be set randomly!
ProvisioningError: guess_names: Realm 'WORKGROUP' must not be equal to short domain name 'WORKGROUP'!
dpkg: ошибка при обработке параметра samba4 (--configure):
подпроцесс установлен сценарий post-installation возвратил код ошибки 1
<...blah-blah...>
===============================
I try to comment workgroup = WORKGROUP and rename realm = WORKGROUP to realm = WORKGROUP.local. Install finished successfull.
==============================
MEDIA ~ # aptitude upgrade
Следующие частично установленные пакеты будут настроены:
samba4 winbind4
Ни одного пакета не будет установлено, обновлено или удалено.
0 пакетов обновлено, 0 установлено новых, 0 пакетов отмечено для удаления, и 0 пакетов не обновлено.
Необходимо получить 0 B архивов. После распаковки 0 B будет занято.
Настраивается пакет samba4 (4.0.0~beta2+dfsg1-3.2) …
Administrator password will be set randomly!
Looking up IPv4 addresses
Looking up IPv6 addresses
No IPv6 address will be assigned
Setting up share.ldb
Setting up secrets.ldb
Setting up the registry
Setting up the privileges database
Setting up idmap db
<...blah-blah...>
A phpLDAPadmin configuration file suitable for administering the Samba 4 LDAP server has been created in /var/lib/samba/private/phpldapadmin-config.php.
[ ok ] Starting Samba 4 daemon: samba.
Настраивается пакет winbind4 (4.0.0~beta2+dfsg1-3.2) …
MEDIA ~ #
==================================
-- System Information:
Debian Release: 7.0
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-2-486
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages samba4 depends on:
ii debconf [debconf-2.0] 1.5.49
ii libasn1-8-heimdal 1.6~git20120403+dfsg1-2
ii libattr1 1:2.4.46-8
ii libbsd0 0.4.2-1
ii libc6 2.13-38
ii libcomerr2 1.42.5-1.1
ii libdcerpc-server0 4.0.0~beta2+dfsg1-3.2
ii libdcerpc0 4.0.0~beta2+dfsg1-3.2
ii libgensec0 4.0.0~beta2+dfsg1-3.2
ii libhdb9-heimdal 1.6~git20120403+dfsg1-2
ii libkdc2-heimdal 1.6~git20120403+dfsg1-2
ii libkrb5-26-heimdal 1.6~git20120403+dfsg1-2
ii libldb1 1:1.1.6-1
ii libndr-standard0 4.0.0~beta2+dfsg1-3.2
ii libndr0 4.0.0~beta2+dfsg1-3.2
ii libpopt0 1.16-7
ii libpython2.7 2.7.3-6
ii libroken18-heimdal 1.6~git20120403+dfsg1-2
ii libsamba-credentials0 4.0.0~beta2+dfsg1-3.2
ii libsamba-hostconfig0 4.0.0~beta2+dfsg1-3.2
ii libsamba-util0 4.0.0~beta2+dfsg1-3.2
ii libsamdb0 4.0.0~beta2+dfsg1-3.2
ii libsmbclient-raw0 4.0.0~beta2+dfsg1-3.2
ii libtalloc2 2.0.7+git20120207-1
ii libtdb1 1.2.10-2
ii libtevent0 0.9.16-1
ii python 2.7.3-4
ii python-dnspython 1.10.0-1
ii python-samba 4.0.0~beta2+dfsg1-3.2
ii samba-dsdb-modules 4.0.0~beta2+dfsg1-3.2
ii samba4-common-bin 4.0.0~beta2+dfsg1-3.2
ii tdb-tools 1.2.10-2
Versions of packages samba4 recommends:
ii attr 1:2.4.46-8
ii bind9 1:9.8.4.dfsg.P1-6+nmu2
ii bind9utils 1:9.8.4.dfsg.P1-6+nmu2
ii ldb-tools 1:1.1.6-1
Versions of packages samba4 suggests:
pn phpldapadmin <none>
pn samba-gtk <none>
pn swat2 <none>
-- debconf information:
samba4/upgrade-from-v3: true
samba4/server-role: domain controller
samba4/realm: WORKGROUP.local
More information about the Pkg-samba-maint
mailing list