winbindd: Do not segfault if the trusted domain has no SID
authorAndrew Bartlett <abartlet@samba.org>
Sun, 10 Aug 2014 23:47:54 +0000 (11:47 +1200)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 31 Aug 2014 22:36:42 +0000 (00:36 +0200)
commita348959088348560fe31fdc73b8482214c4021bf
tree3f9e0ecb1c4dc3b80dffcf0363a7485736ae9e20
parent0edc1476b7c492cfda877bc2ac36df9d13e0abad
winbindd: Do not segfault if the trusted domain has no SID

Currently we abort, as skipping the domain would make the loop much more complex for a situation not yet seen in the real world.

Andrew Bartlett

Change-Id: Ie1e269eb25047d662d8fd0f771ee20de1d48706b
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Reviewed-By: Jelmer Vernooij <jelmer@samba.org>
source3/winbindd/winbindd_rpc.c