summaryrefslogtreecommitdiff
path: root/source3/torture
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2006-08-09 15:25:26 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:38:36 -0500
commit76362d0d33892df39c0a370f1f64c8581daaf166 (patch)
tree51f1e234094cb160427d02e6d4e87e46dd602f8e /source3/torture
parentd802774e02ed4a68d61b9fa3b95164221dd50112 (diff)
downloadsamba-76362d0d33892df39c0a370f1f64c8581daaf166.tar.gz
samba-76362d0d33892df39c0a370f1f64c8581daaf166.tar.bz2
samba-76362d0d33892df39c0a370f1f64c8581daaf166.zip
r17468: To minimize the diff later on, pre-commit some changes independently: Change
internal mapping.c functions to return NTSTATUS instead of BOOL. Volker (This used to be commit 4ebfc30a28a6f48613098176c5acdfdafbd2941a)
Diffstat (limited to 'source3/torture')
-rw-r--r--source3/torture/local-groupmap.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/source3/torture/local-groupmap.c b/source3/torture/local-groupmap.c
index e83cfece97..d223bd58b7 100644
--- a/source3/torture/local-groupmap.c
+++ b/source3/torture/local-groupmap.c
@@ -191,8 +191,9 @@ BOOL run_local_groupmap(int dummy)
/* This tests upgrading the database, as well as listing */
- if (!pdb_enum_group_mapping(NULL, SID_NAME_UNKNOWN, &maps, &num_maps,
- False)) {
+ if (!NT_STATUS_IS_OK(pdb_enum_group_mapping(NULL, SID_NAME_UNKNOWN,
+ &maps, &num_maps,
+ False))) {
d_fprintf(stderr, "(%s) pdb_enum_group_mapping failed\n",
__location__);
goto fail;