s3:libads: Fix ads_get_upn()
authorAndreas Schneider <asn@samba.org>
Fri, 3 Apr 2020 13:58:28 +0000 (15:58 +0200)
committerAndreas Schneider <asn@cryptomilk.org>
Mon, 6 Apr 2020 17:35:39 +0000 (17:35 +0000)
commitec69752cb963ae850568d3f4905d2941e485627e
tree29661afb37a2e3fd16f2d33a167ac1c031d81a8b
parentc012f924382bc694d3ddcc2946bb2c1d92742aff
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>
source3/libads/ldap.c