diff options
author | Michael Adam <obnox@samba.org> | 2013-09-10 18:07:15 +0200 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2013-10-01 12:04:44 +0000 |
commit | 802b9d7ec614e25ff99c367cfaf267d8334311f1 (patch) | |
tree | 697ca5837489e094b38b48c7bb4ea8cdd3db7bda /source3/include | |
parent | f6c34b1e236aab275d6cfbc12e57af7d692b8c19 (diff) | |
download | samba-802b9d7ec614e25ff99c367cfaf267d8334311f1.tar.gz samba-802b9d7ec614e25ff99c367cfaf267d8334311f1.tar.bz2 samba-802b9d7ec614e25ff99c367cfaf267d8334311f1.zip |
idmap_autorid: change idmap_autorid_loadconfig() to return NTSTATUS
for better error propagation.
Pair-Programmed-With: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Signed-off-by: Michael Adam <obnox@samba.org>
Signed-off-by: Atul Kulkarni <atul.kulkarni@in.ibm.com>
Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/idmap_autorid_tdb.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/include/idmap_autorid_tdb.h b/source3/include/idmap_autorid_tdb.h index 2702f4cf09..e385f493b6 100644 --- a/source3/include/idmap_autorid_tdb.h +++ b/source3/include/idmap_autorid_tdb.h @@ -63,8 +63,9 @@ NTSTATUS idmap_autorid_db_init(const char *path, TALLOC_CTX *mem_ctx, struct db_context **db); -struct autorid_global_config *idmap_autorid_loadconfig(struct db_context *db, - TALLOC_CTX *ctx); +NTSTATUS idmap_autorid_loadconfig(struct db_context *db, + TALLOC_CTX *ctx, + struct autorid_global_config **result); NTSTATUS idmap_autorid_saveconfig(struct db_context *db, struct autorid_global_config *cfg); |