diff options
author | Jeremy Allison <jra@samba.org> | 2006-06-28 21:30:21 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:19:05 -0500 |
commit | 2b8abc030b1eca43f7c0c05dc96eebeb6c492030 (patch) | |
tree | baaede502f92ed3528fc26793eff4c1adda96ed5 /source3/rpcclient | |
parent | 79eaa709a05d765673ea0766b1d23a0c60d76b4c (diff) | |
download | samba-2b8abc030b1eca43f7c0c05dc96eebeb6c492030.tar.gz samba-2b8abc030b1eca43f7c0c05dc96eebeb6c492030.tar.bz2 samba-2b8abc030b1eca43f7c0c05dc96eebeb6c492030.zip |
r16644: Fix bug #3887 reported by jason@ncac.gwu.edu
by converting the lookup_XX functions to correctly
return SID_NAME_TYPE enums.
Jeremy.
(This used to be commit ee2b2d96b60c668e37592c79e86c2fd851e15f69)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r-- | source3/rpcclient/cmd_lsarpc.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index 97a707c020..3967ed6957 100644 --- a/source3/rpcclient/cmd_lsarpc.c +++ b/source3/rpcclient/cmd_lsarpc.c @@ -31,7 +31,7 @@ static NTSTATUS name_to_sid(struct rpc_pipe_client *cli, DOM_SID *sid, const char *name) { POLICY_HND pol; - uint32 *sid_types; + enum SID_NAME_USE *sid_types; NTSTATUS result; DOM_SID *sids; @@ -223,7 +223,7 @@ static NTSTATUS cmd_lsa_lookup_names(struct rpc_pipe_client *cli, POLICY_HND pol; NTSTATUS result = NT_STATUS_UNSUCCESSFUL; DOM_SID *sids; - uint32 *types; + enum SID_NAME_USE *types; int i; if (argc == 1) { @@ -272,7 +272,7 @@ static NTSTATUS cmd_lsa_lookup_sids(struct rpc_pipe_client *cli, TALLOC_CTX *mem DOM_SID *sids; char **domains; char **names; - uint32 *types; + enum SID_NAME_USE *types; int i; if (argc == 1) { |