auth: Remove early return from make_user_info_dc_pac()
authorJoseph Sutton <josephsutton@catalyst.net.nz>
Mon, 7 Nov 2022 06:37:12 +0000 (19:37 +1300)
committerAndrew Bartlett <abartlet@samba.org>
Wed, 8 Feb 2023 00:03:39 +0000 (00:03 +0000)
commitc7b76764dc10fd2479f51ddf3fb4f1eb20790371
tree064bfc751f12ac4b4ca0a07d306787f9482e8cc9
parent94cda2dfd58a4f3d3e0011b67fa0be7d11570cb6
auth: Remove early return from make_user_info_dc_pac()

'rg' is never NULL, so this codepath is never taken. But if it were, we
would return early and entirely neglect filling in the UPN_DNS_INFO from
the 'pac_upn_dns_info' parameter. So remove the early return.

Signed-off-by: Joseph Sutton <josephsutton@catalyst.net.nz>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
auth/auth_sam_reply.c