s4-dsdb: Check if metadata.tdb exists, before trying to open it
authorAmitay Isaacs <amitay@gmail.com>
Mon, 13 Feb 2012 00:07:06 +0000 (11:07 +1100)
committerAmitay Isaacs <amitay@samba.org>
Mon, 13 Feb 2012 02:02:09 +0000 (03:02 +0100)
commitbee55a29578e8eab66c36de9b2526769b05b8dba
treee384fbe1fd027906d6c23b2714ceacb08a99daf9
parentcaf485a2bd0453b7d22600f9106a2026b1a50c79
s4-dsdb: Check if metadata.tdb exists, before trying to open it

This fixes the error output from tdb2 when metadata module tries
to create metadata.tdb first time. This error is reported since
metadata module tries to check if tdb exists by trying to open
tdb file.

Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Mon Feb 13 03:02:09 CET 2012 on sn-devel-104
source4/dsdb/samdb/ldb_modules/partition_metadata.c