summaryrefslogtreecommitdiff
path: root/source3/rpc_server/srv_samr_nt.c
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-06-25 11:21:41 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-06-25 11:21:41 +0000
commit8e387b8178416552e9b7e504c7eb8e1b16b5edcb (patch)
treebb9e8e39c1283319c8350ad73be09f901b4e28af /source3/rpc_server/srv_samr_nt.c
parent6fc42047ec40c4c5661ede98fa0c32ccd5abfe7d (diff)
downloadsamba-8e387b8178416552e9b7e504c7eb8e1b16b5edcb.tar.gz
samba-8e387b8178416552e9b7e504c7eb8e1b16b5edcb.tar.bz2
samba-8e387b8178416552e9b7e504c7eb8e1b16b5edcb.zip
I'm going to try and check this against Win2k shortly, but I'm certain that
'NT_STATUS_OK' is not the right answer here. Try NO_MORE_ENTRIES for now. Andrew Bartlett (This used to be commit c98b9a965905f1876b4884f932ff2e0237d85b03)
Diffstat (limited to 'source3/rpc_server/srv_samr_nt.c')
-rw-r--r--source3/rpc_server/srv_samr_nt.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c
index 94d8e99576..9e826436f6 100644
--- a/source3/rpc_server/srv_samr_nt.c
+++ b/source3/rpc_server/srv_samr_nt.c
@@ -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 */