]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
cli_samr_query_dispinfo() can return STATUS_MORE_ENTRIES which isn't an
authorTim Potter <tpot@samba.org>
Mon, 23 Jul 2001 07:20:46 +0000 (07:20 +0000)
committerTim Potter <tpot@samba.org>
Mon, 23 Jul 2001 07:20:46 +0000 (07:20 +0000)
entry.

source/libsmb/cli_samr.c

index d8b300d090c48262f5a40bc3e43e72607ba5f9b0..5f6d0fbae5ed9279c54526a204a275cf22c156bd 100644 (file)
@@ -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;
        }