This function performs an ldapsearch using the SDK java API Directory server hostname or IP address Directory server port number Bind DN Bind password The scope of the search operation The baseDN for the search operation The filter for the search operation Only return these attributes 'Result = %s' % entry.getAllAttributes().toString() SDKResult