fixed segv on startup with trusted domains
commit8ec11590f471d2852e5ffd3d1d65da54bd2182ca
authorAndrew Tridgell <tridge@samba.org>
Mon, 29 Sep 2008 18:18:21 +0000 (29 11:18 -0700)
committerJeremy Allison <jra@samba.org>
Mon, 29 Sep 2008 18:18:21 +0000 (29 11:18 -0700)
treeb8a360ae2793fab0e02dafab14678d7a3a9d42e4
parent35a074c24b9b320bb23e82d3f44e17c5fadbcf62
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
source/winbindd/idmap_tdb2.c