diff options
author | Andreas Schneider <asn@samba.org> | 2020-04-03 15:58:28 +0200 |
---|---|---|
committer | Karolin Seeger <kseeger@samba.org> | 2020-04-07 08:12:37 +0000 |
commit | dacbd35a11bef4c59df359e2ded01b2e28b02bbb (patch) | |
tree | 0b587dd2ec846c383e220ce8b85382fd068b1085 | |
parent | d6d93329b4c2eff0c041bfd11a471c3512709594 (diff) | |
download | samba-dacbd35a11bef4c59df359e2ded01b2e28b02bbb.tar.gz |
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)
-rwxr-xr-x | source3/libads/ldap.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index a630c5a0345..f0fcf9fcd56 100755 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -1373,6 +1373,7 @@ char *ads_parent_dn(const char *dn) "userAccountControl", "DnsHostName", "ServicePrincipalName", + "userPrincipalName", "unicodePwd", /* Additional attributes Samba checks */ |