From 2b27c93a9a8471693d7dcb5fdbe8afe65b22ff66 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 8 Sep 2006 14:28:06 +0000 Subject: 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 3da9f80c28b1e75ef6d46d38fbb81ade6b9fa951) --- source3/nsswitch/winbindd.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source3/nsswitch/winbindd.h') diff --git a/source3/nsswitch/winbindd.h b/source3/nsswitch/winbindd.h index 73aaff9a11..98c0e12349 100644 --- a/source3/nsswitch/winbindd.h +++ b/source3/nsswitch/winbindd.h @@ -60,7 +60,7 @@ struct sid_ctr { BOOL finished; const char *domain; const char *name; - enum SID_NAME_USE type; + enum lsa_SidType type; }; struct winbindd_cli_state { @@ -239,7 +239,7 @@ struct winbindd_methods { const char *domain_name, const char *name, DOM_SID *sid, - enum SID_NAME_USE *type); + enum lsa_SidType *type); /* convert a sid to a user or group name */ NTSTATUS (*sid_to_name)(struct winbindd_domain *domain, @@ -247,7 +247,7 @@ struct winbindd_methods { const DOM_SID *sid, char **domain_name, char **name, - enum SID_NAME_USE *type); + enum lsa_SidType *type); NTSTATUS (*rids_to_names)(struct winbindd_domain *domain, TALLOC_CTX *mem_ctx, @@ -256,7 +256,7 @@ struct winbindd_methods { size_t num_rids, char **domain_name, char ***names, - enum SID_NAME_USE **types); + enum lsa_SidType **types); /* lookup user info for a given SID */ NTSTATUS (*query_user)(struct winbindd_domain *domain, -- cgit