winbindd: let wb_lookupsids_move_name() handle domain_index UINT32_MAX
authorRalph Boehme <slow@samba.org>
Sun, 26 Mar 2017 06:34:59 +0000 (08:34 +0200)
committerJeremy Allison <jra@samba.org>
Tue, 11 Apr 2017 23:41:14 +0000 (01:41 +0200)
commit36e01b6232247abdd2d4ad75f405b328456c1b9e
tree3923bae2ee8caf75447434af5fda7684e1480145
parent1efaeb072e55735421191fbae9cc586db6d07bb1
winbindd: let wb_lookupsids_move_name() handle domain_index UINT32_MAX

If the SID was in an unknown domain, src_name->sid_index will be
UINT32_MAX.

This change allows wb_lookupsids_move_name() to add such names to the
result set. This is not used for now, but will be used in subsequent
commits.

Signed-off-by: Ralph Boehme <slow@samba.org>
Reviewed-by: Jeremy Allison <jra@samba.org>
source3/winbindd/wb_lookupsids.c