s3:ads fix dn parsing name was always null
authorSimo Sorce <idra@samba.org>
Mon, 1 Mar 2010 19:50:50 +0000 (14:50 -0500)
committerKarolin Seeger <kseeger@samba.org>
Wed, 3 Mar 2010 13:36:42 +0000 (14:36 +0100)
commit36b7a2d8dcfccca45e70b6a013316409244ab641
tree542f8d38b8ee70a3b4a6ed9257a74edd4ad630a4
parent6253cb5445232aba662f874e44fae93f4d3b9ea3
s3:ads fix dn parsing name was always null

While there also use ldap_exploded_dn instead of ldb_dn_validate()
so we can remove a huge dependency that is hanging there only for one very
minor marginal use.

Signed-off-by: Günther Deschner <gd@samba.org>
(cherry picked from commit 8492f92843aa17eaf4a3ea9d5a9c6319afc97854)

Fix bug #7204 (net ads join createcomputer=Servers/Unix fails with out of
memory).
source3/libads/ldap.c