LDAPConnection add function  set connection to LDAPEntry before add to server. Added dntype to LDAPEntry to call less import, and changed PyObject2char to call import if no other options left.