Returns the current entry pointed to by the cursor.
Parameter index
This optional argument can be used for direct access to an
entry other than the one currently pointed to by the cursor.
Returns
The return value is a mapping describing the entry:
attribute : string
An attribute in the entry. The value is an array containing
the returned attribute value(s) on string form, or a single
string if Protocols.LDAP.SEARCH_MULTIVAL_ARRAYS_ONLY was
given to search and the attribute is typed as single
valued.