1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-02 00:23:50 +03:00

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 commit is contained in:
Jeremy Allison
2006-06-28 21:30:21 +00:00
committed by Gerald (Jerry) Carter
parent d354b430ff
commit ee2b2d96b6
12 changed files with 36 additions and 34 deletions

View File

@@ -3727,7 +3727,7 @@ convert_sid_to_string(struct cli_state *ipc_cli,
{
char **domains = NULL;
char **names = NULL;
uint32 *types = NULL;
enum SID_NAME_USE *types = NULL;
struct rpc_pipe_client *pipe_hnd = find_lsa_pipe_hnd(ipc_cli);
sid_to_string(str, sid);
@@ -3763,7 +3763,7 @@ convert_string_to_sid(struct cli_state *ipc_cli,
DOM_SID *sid,
const char *str)
{
uint32 *types = NULL;
enum SID_NAME_USE *types = NULL;
DOM_SID *sids = NULL;
BOOL result = True;
struct rpc_pipe_client *pipe_hnd = find_lsa_pipe_hnd(ipc_cli);