fixed segv on startup with trusted domains
authorAndrew Tridgell <tridge@samba.org>
Wed, 17 Sep 2008 06:15:40 +0000 (16:15 +1000)
committerMichael Adam <obnox@samba.org>
Mon, 29 Sep 2008 12:01:00 +0000 (14:01 +0200)
commitb8c9daac6eb8a2bcdb14c71c1ddfbfeba4b9b54d
treeceda91811211dbe6b874d3b601e5aa8fd6695279
parent4fa4a524de0647644abc842f34a926b458388b09
fixed segv on startup with trusted domains

With some setups, idmap_tdb2_allocate_id can be called before the
allocate backend is initialised, leading to a segv. This change
ensures that the db is opened in all paths that use it
source3/winbindd/idmap_tdb2.c