mirror of
https://github.com/samba-team/samba.git
synced 2024-12-27 03:21:53 +03:00
rpc_server: Remove references to sidmap from the lsa pipe code.
This commit is contained in:
parent
033db9730f
commit
25cbb1b767
@ -40,7 +40,6 @@
|
||||
struct lsa_policy_state {
|
||||
struct dcesrv_handle *handle;
|
||||
struct ldb_context *sam_ldb;
|
||||
struct sidmap_context *sidmap;
|
||||
uint32_t access_mask;
|
||||
struct ldb_dn *domain_dn;
|
||||
struct ldb_dn *forest_dn;
|
||||
|
@ -57,11 +57,6 @@ NTSTATUS dcesrv_lsa_get_policy_state(struct dcesrv_call_state *dce_call, TALLOC_
|
||||
|
||||
partitions_basedn = samdb_partitions_dn(state->sam_ldb, mem_ctx);
|
||||
|
||||
state->sidmap = sidmap_open(state, dce_call->conn->dce_ctx->lp_ctx);
|
||||
if (state->sidmap == NULL) {
|
||||
return NT_STATUS_INVALID_SYSTEM_SERVICE;
|
||||
}
|
||||
|
||||
/* work out the domain_dn - useful for so many calls its worth
|
||||
fetching here */
|
||||
state->domain_dn = samdb_base_dn(state->sam_ldb);
|
||||
|
@ -360,7 +360,7 @@ static NTSTATUS dcesrv_lsa_lookup_name(struct loadparm_context *lp_ctx,
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
/* need to add a call into sidmap to check for a allocated sid */
|
||||
/* need to check for an allocated sid */
|
||||
|
||||
return NT_STATUS_INVALID_SID;
|
||||
}
|
||||
@ -466,8 +466,7 @@ static NTSTATUS dcesrv_lsa_lookup_sid(struct lsa_policy_state *state, TALLOC_CTX
|
||||
return NT_STATUS_OK;
|
||||
}
|
||||
|
||||
/* need to re-add a call into sidmap to check for a allocated sid */
|
||||
/* status = sidmap_allocated_sid_lookup(state->sidmap, mem_ctx, sid, name, rtype); */
|
||||
/* need to re-add a check for an allocated sid */
|
||||
|
||||
return NT_STATUS_NOT_FOUND;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user