s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code
authorMichael Adam <obnox@samba.org>
Thu, 6 Oct 2011 18:34:55 +0000 (20:34 +0200)
committerMichael Adam <obnox@samba.org>
Tue, 11 Oct 2011 12:17:58 +0000 (14:17 +0200)
commit603c3e1bcb7b4106afe4aefdfed43e7832ede956
tree3bbd74811e5a62786975aada7399931db36d1549
parentce8626cbbe99b26f4e39ace87221792b468b9c93
s3:dbwrap: convert dbwrap_fetch_int32() to NTSTATUS return code

Return the int32 value retrieved from the db by reference.
Before this, return value "-1" was used as a error indication,
but it could also be a valid value from the database.
source3/lib/dbwrap/dbwrap.h
source3/lib/dbwrap/dbwrap_util.c
source3/lib/sharesec.c
source3/passdb/pdb_tdb.c
source3/registry/reg_backend_db.c
source3/utils/dbwrap_tool.c
source3/winbindd/idmap_autorid.c
source3/winbindd/idmap_tdb.c