summaryrefslogtreecommitdiff
path: root/source3/utils/netlookup.c
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-28 21:30:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:05 -0500
commit2b8abc030b1eca43f7c0c05dc96eebeb6c492030 (patch)
treebaaede502f92ed3528fc26793eff4c1adda96ed5 /source3/utils/netlookup.c
parent79eaa709a05d765673ea0766b1d23a0c60d76b4c (diff)
downloadsamba-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/utils/netlookup.c')
-rw-r--r--source3/utils/netlookup.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/utils/netlookup.c b/source3/utils/netlookup.c
index df0fe0c843..2d105335e8 100644
--- a/source3/utils/netlookup.c
+++ b/source3/utils/netlookup.c
@@ -157,7 +157,7 @@ NTSTATUS net_lookup_name_from_sid(TALLOC_CTX *ctx,
struct con_struct *csp = NULL;
char **domains;
char **names;
- uint32 *types;
+ enum SID_NAME_USE *types;
*ppdomain = NULL;
*ppname = NULL;
@@ -195,7 +195,7 @@ NTSTATUS net_lookup_sid_from_name(TALLOC_CTX *ctx, const char *full_name, DOM_SI
NTSTATUS nt_status;
struct con_struct *csp = NULL;
DOM_SID *sids = NULL;
- uint32 *types = NULL;
+ enum SID_NAME_USE *types = NULL;
csp = create_cs(ctx, &nt_status);
if (csp == NULL) {