The Samba-Bugzilla – Attachment 1998 Details for
Bug 3892
utils/net_util.c: enumerated type is mixed with another type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Change type on rpccli_lsa_lookup_names( )
cli_lsarpc.patch (text/plain), 867 bytes, created by
Jason Mader (mail bounces back)
on 2006-06-28 16:15:19 UTC
(
hide
)
Description:
Change type on rpccli_lsa_lookup_names( )
Filename:
MIME Type:
Creator:
Jason Mader (mail bounces back)
Created:
2006-06-28 16:15:19 UTC
Size:
867 bytes
patch
obsolete
>Index: rpc_client/cli_lsarpc.c >=================================================================== >--- rpc_client/cli_lsarpc.c (revision 16642) >+++ rpc_client/cli_lsarpc.c (working copy) >@@ -280,7 +280,7 @@ > const char **names, > const char ***dom_names, > DOM_SID **sids, >- uint32 **types) >+ enum SID_NAME_USE **types) > { > prs_struct qbuf, rbuf; > LSA_Q_LOOKUP_NAMES q; >@@ -327,7 +327,7 @@ > goto done; > } > >- if (!((*types = TALLOC_ARRAY(mem_ctx, uint32, num_names)))) { >+ if (!((*types = TALLOC_ARRAY(mem_ctx, enum SID_NAME_USE, num_names)))) { > DEBUG(0, ("cli_lsa_lookup_sids(): out of memory\n")); > result = NT_STATUS_NO_MEMORY; > goto done; >@@ -363,7 +363,7 @@ > sid_append_rid(sid, dom_rid); > } > >- (*types)[i] = t_rids[i].type; >+ (*types)[i] = (enum SID_NAME_USE) t_rids[i].type; > > if (dom_names == NULL) { > continue;
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 3892
:
1997
| 1998