mirror of
https://github.com/samba-team/samba.git
synced 2025-08-02 00:22:11 +03:00
r18271: Big change:
* autogenerate lsa ndr code
* rename 'enum SID_NAME_USE' to 'enum lsa_SidType'
* merge a log more security descriptor functions from
gen_ndr/ndr_security.c in SAMBA_4_0
The most embarassing thing is the "#define strlen_m strlen"
We need a real implementation in SAMBA_3_0 which I'll work on
after this code is in.
(This used to be commit 3da9f80c28
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
c2d59d8170
commit
2b27c93a9a
@ -32,14 +32,14 @@ BOOL is_valid_policy_hnd(const POLICY_HND *hnd)
|
||||
NTSTATUS net_rpc_lookup_name(TALLOC_CTX *mem_ctx, struct cli_state *cli,
|
||||
const char *name, const char **ret_domain,
|
||||
const char **ret_name, DOM_SID *ret_sid,
|
||||
enum SID_NAME_USE *ret_type)
|
||||
enum lsa_SidType *ret_type)
|
||||
{
|
||||
struct rpc_pipe_client *lsa_pipe;
|
||||
POLICY_HND pol;
|
||||
NTSTATUS result = NT_STATUS_OK;
|
||||
const char **dom_names;
|
||||
DOM_SID *sids;
|
||||
enum SID_NAME_USE *types;
|
||||
enum lsa_SidType *types;
|
||||
|
||||
ZERO_STRUCT(pol);
|
||||
|
||||
|
Reference in New Issue
Block a user