diff options
Diffstat (limited to 'source3/rpc_server')
-rw-r--r-- | source3/rpc_server/srv_samr_nt.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/rpc_server/srv_samr_nt.c b/source3/rpc_server/srv_samr_nt.c index 6e25da1710..2c599c9d79 100644 --- a/source3/rpc_server/srv_samr_nt.c +++ b/source3/rpc_server/srv_samr_nt.c @@ -901,9 +901,6 @@ NTSTATUS _samr_query_dispinfo(pipes_struct *p, SAMR_Q_QUERY_DISPINFO *q_u, SAMR_ case 0x1: case 0x2: case 0x4: - if (enum_context!=0 && info->disp_info.user_dbloaded==False) - return NT_STATUS_UNSUCCESSFUL; - become_root(); r_u->status=load_sampwd_entries(info, acb_mask); unbecome_root(); @@ -914,9 +911,6 @@ NTSTATUS _samr_query_dispinfo(pipes_struct *p, SAMR_Q_QUERY_DISPINFO *q_u, SAMR_ break; case 0x3: case 0x5: - if (enum_context!=0 && info->disp_info.group_dbloaded==False) - return NT_STATUS_UNSUCCESSFUL; - r_u->status = load_group_domain_entries(info, &info->sid); if (NT_STATUS_IS_ERR(r_u->status)) return r_u->status; |