SHA256
1
0
forked from pool/samba

Migarte passdb.tdb secrets.tdb smbpasswd

- to enhance the previous commit
- do it in the post of the client which is required by winbind and the
  main package; a potential race condition is the restart on update
  mechanism if the main or winbind packages gets installed before the
  client package

OBS-URL: https://build.opensuse.org/package/show/network:samba:STABLE/samba?expand=0&rev=494
This commit is contained in:
Lars Müller 2015-09-16 20:36:06 +00:00 committed by Git OBS Bridge
parent 684bdd790c
commit 067d02bf43
3 changed files with 9 additions and 5 deletions

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:892dfa35fcbe496c94c29c62f1b403bfa873fcef48e4c3a7a4caa2339c9b26fd
size 29285
oid sha256:0d8de14f3d3713b98925dd38925b9fc4040ea0b0392bb725aefd595ed7a31154
size 29251

View File

@ -144,7 +144,7 @@ BuildRequires: systemd-devel
%else
%define build_make_smp_mflags %{?jobs:-j%jobs}
%endif
%define SOURCE_TIMESTAMP 3482
%define SOURCE_TIMESTAMP 3483
%define BRANCH %{version}
%global with_mitkrb5 1
%global with_dc 0
@ -1505,6 +1505,10 @@ else
%endif
done
fi
for fn in passdb.tdb secrets.tdb smbpasswd; do
test ! -e %{LOCKDIR}/private/$fn && test -e %{CONFIGDIR}/$fn && \
mv %{CONFIGDIR}/$fn %{LOCKDIR}/private
done
%if 0%{?suse_version} && 0%{?suse_version} < 1221
if [ ${1:-0} -gt 1 -a -f /var/adm/backup/etc_samba_smbfstab-move ]; then
test -f /etc/samba/cifstab && \

View File

@ -1,3 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:79c82f98880c69d38d46c1f9bdd86aed2f06d453aa17d8502559ed9dc5c9bbf6
size 52911
oid sha256:f80640c657ac307e0c1a7da5f584d6a135f6bc60f2cbf18fc74a589e6a2808df
size 53066