summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2001-07-23 07:20:46 +0000
committerTim Potter <tpot@samba.org>2001-07-23 07:20:46 +0000
commit516eeb0b792d313ff4f42959a2f63140f4315c80 (patch)
treedd5642694ed72a92e6499030e4632dddefb69982
parent36d3a9d5dd2d3315ecc84b283bde4e82e28e3628 (diff)
downloadsamba-516eeb0b792d313ff4f42959a2f63140f4315c80.tar.gz
samba-516eeb0b792d313ff4f42959a2f63140f4315c80.tar.bz2
samba-516eeb0b792d313ff4f42959a2f63140f4315c80.zip
cli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't an
entry. (This used to be commit 12e44e40298b5469f6f1fea3495cfa023305411d)
-rw-r--r--source3/libsmb/cli_samr.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/source3/libsmb/cli_samr.c b/source3/libsmb/cli_samr.c
index d8b300d090..5f6d0fbae5 100644
--- a/source3/libsmb/cli_samr.c
+++ b/source3/libsmb/cli_samr.c
@@ -778,7 +778,10 @@ uint32 cli_samr_query_dispinfo(struct cli_state *cli, TALLOC_CTX *mem_ctx,
/* Return output parameters */
- if ((result = r.status) != NT_STATUS_NOPROBLEMO) {
+ result = r.status;
+
+ if (result != NT_STATUS_NOPROBLEMO &&
+ result != STATUS_MORE_ENTRIES) {
goto done;
}