diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/rpcclient/cmd_lsarpc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/rpcclient/cmd_lsarpc.c b/source3/rpcclient/cmd_lsarpc.c index 488f8f545c..3e7d1851db 100644 --- a/source3/rpcclient/cmd_lsarpc.c +++ b/source3/rpcclient/cmd_lsarpc.c @@ -451,8 +451,8 @@ static NTSTATUS cmd_lsa_lookup_sids3(struct rpc_pipe_client *cli, } for (i = 0; i < sids.num_sids; i++) { - sids.sids[0].sid = string_sid_talloc(sids.sids, argv[i + 1]); - if (!sids.sids[0].sid) { + sids.sids[i].sid = string_sid_talloc(sids.sids, argv[i + 1]); + if (!sids.sids[i].sid) { result = NT_STATUS_INVALID_SID; goto done; } |