s3:libads: Fix ads_get_upn()
authorAndreas Schneider <asn@samba.org>
Fri, 3 Apr 2020 13:58:28 +0000 (15:58 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 7 Apr 2020 08:12:37 +0000 (08:12 +0000)
commitdacbd35a11bef4c59df359e2ded01b2e28b02bbb
tree0b587dd2ec846c383e220ce8b85382fd068b1085
parentd6d93329b4c2eff0c041bfd11a471c3512709594
s3:libads: Fix ads_get_upn()

This adds the userPrincipalName to ads_find_machine_acct() which
fetches the data for us.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=14336

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit ec69752cb963ae850568d3f4905d2941e485627e)
source3/libads/ldap.c