winbindd: Sync secrets.ldb into secrets.tdb on startup
authorAndrew Bartlett <abartlet@samba.org>
Thu, 11 Jun 2015 23:57:07 +0000 (11:57 +1200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 30 Jun 2015 02:19:08 +0000 (04:19 +0200)
commit4bacf0d4cedfdca35fa8555c101667917d57395c
treeb2eef0f59c2e32a44c132d0476f4538e84fce083
parentfc6074c603aeab206d6f86a4cc8514633b16ec77
winbindd: Sync secrets.ldb into secrets.tdb on startup

This ensures that the domain SID and machine account password are written into
secrets.tdb if the secrets.tdb file was either never written or was deleted.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=10991
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
(backport of master commit 5de7621cbfba1e1fb52cddf41a5a13d027d45b46)
source3/winbindd/winbindd_util.c