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:
committed by
Gerald (Jerry) Carter
parent
d354b430ff
commit
ee2b2d96b6
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user