HostDn = "host=" + Host + "," + HBaseDn;
# Query the server for all of the attributes
Attrs = l.search_s(HBaseDn,ldap.SCOPE_ONELEVEL,"host=" + Host);
if len(Attrs) == 0:
print "Host",Host,"was not found.";
HostDn = "host=" + Host + "," + HBaseDn;
# Query the server for all of the attributes
Attrs = l.search_s(HBaseDn,ldap.SCOPE_ONELEVEL,"host=" + Host);
if len(Attrs) == 0:
print "Host",Host,"was not found.";