s3:libads: Fix creating machine account using LDAP
commit86e86cddcb5b6e0319605e1c46fe1932b3e81bf1
authorAndreas Schneider <asn@samba.org>
Tue, 13 Aug 2019 14:34:34 +0000 (13 16:34 +0200)
committerKarolin Seeger <kseeger@samba.org>
Wed, 16 Oct 2019 19:25:11 +0000 (16 19:25 +0000)
treeb914e7f013649631f4b0ee9ece82f95f2483714e
parente0be43a863bba4be3df81b8a7b7a95f99bfb4783
s3:libads: Fix creating machine account using LDAP

This implements the same behaviour as Windows.

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

Pair-Programmed-With: Guenther Deschner <gd@samba.org>
Signed-off-by: Guenther Deschner <gd@samba.org>
Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Alexander Bokovoy <ab@samba.org>
(cherry picked from commit ce7762935051c862ecdd3e82d93096aac61dd292)
source3/libads/ads_proto.h
source3/libads/ldap.c
source3/libnet/libnet_join.c