s3:dbwrap fix return value of db_tdb_parse
authorChristian Ambach <ambi@samba.org>
Fri, 16 Dec 2011 13:51:46 +0000 (14:51 +0100)
committerChristian Ambach <ambi@samba.org>
Fri, 16 Dec 2011 17:43:08 +0000 (18:43 +0100)
commit411d498b8ae7dc3c6263399cb4430b00fdcbbbd9
tree9d314d37d531fa85ebcf620ceefd7c84cfa39360
parent16bd41b7e708a6891da1ad812e20b0988f7ac79f
s3:dbwrap fix return value of db_tdb_parse

use the TDB ecode to determine the NTSTATUS return value
and not the return code that is just -1
source3/lib/dbwrap/dbwrap_tdb.c