I'm going to try and check this against Win2k shortly, but I'm certain that
authorAndrew Bartlett <abartlet@samba.org>
Tue, 25 Jun 2002 11:21:41 +0000 (11:21 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 25 Jun 2002 11:21:41 +0000 (11:21 +0000)
'NT_STATUS_OK' is not the right answer here.  Try NO_MORE_ENTRIES for now.

Andrew Bartlett
(This used to be commit c98b9a965905f1876b4884f932ff2e0237d85b03)

source3/rpc_server/srv_samr_nt.c

index 94d8e99576326ba86938e0c63acec21353ccf1e2..9e826436f6bde598c4d8cce629909bb31e6714a1 100644 (file)
@@ -986,7 +986,7 @@ NTSTATUS _samr_query_dispinfo(pipes_struct *p, SAMR_Q_QUERY_DISPINFO *q_u, SAMR_
 
        if (enum_context > num_account) {
                DEBUG(5, ("samr_reply_query_dispinfo: enumeration handle over total entries\n"));
-               return NT_STATUS_OK;
+               return NT_STATUS_NO_MORE_ENTRIES;
        }
 
        /* verify we won't overflow */