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>
Mon, 29 Mar 2010 07:40:59 +0000 (09:40 +0200)
commit46f2152086f91da78f1a6790ed4cbc788975d170
tree00c53a8a64df3c1d4b0932cd4f190a9e69b72d5d
parent19f8470db4e3e2dd08b173e45f5ea4abbe61408c
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).
(cherry picked from commit 36b7a2d8dcfccca45e70b6a013316409244ab641)
source3/libads/ldap.c