Bug 700215 - ldclt core dumps
https://bugzilla.redhat.com/show_bug.cgi?id=700215
Description: A helper function createMissingNodes is supposed to
set LDAP handle 'cnx' if NULL cnx is passed to the function,
but it was missing. This patch sets it.
(cherry picked from commit ff7be176694a715b736eac5855012b8819afd378)