git.samba.org
/
gd
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b8313b1
)
r26531: Prevent from displaying the results if the function
author
Rafal Szczesniak
<mimir@samba.org>
Tue, 18 Dec 2007 23:45:07 +0000
(
00:45
+0100)
committer
Stefan Metzmacher
<metze@samba.org>
Fri, 21 Dec 2007 04:51:54 +0000
(
05:51
+0100)
call has failed.
(This used to be commit
ded8a45d79beb0e539c573f67056c8cb4aa62c3f
)
source4/torture/libnet/libnet_user.c
patch
|
blob
|
history
diff --git
a/source4/torture/libnet/libnet_user.c
b/source4/torture/libnet/libnet_user.c
index 8671e438b7ad3cbc16035db7072b76cece3320ae..ae87e6da87b036d8a5b510b391de5044e155e36e 100644
(file)
--- a/
source4/torture/libnet/libnet_user.c
+++ b/
source4/torture/libnet/libnet_user.c
@@
-691,6
+691,8
@@
bool torture_userlist(struct torture_context *torture)
req.in.resume_index = req.out.resume_index;
status = libnet_UserList(ctx, mem_ctx, &req);
+ if (!NT_STATUS_IS_OK(status) &&
+ !NT_STATUS_EQUAL(status, STATUS_MORE_ENTRIES)) break;
for (i = 0; i < req.out.count; i++) {
printf("\tuser: %s, sid=%s\n",