anchor.diff:  		       [Handle, Type, In, Unknown]),
   	    error
       end;
  -exec_ldapsearch(Mode, Handle, [Type, In, Attribute]) ->
  +exec_ldapsearch(Mode, Handle, [Type, In, AttrIn]) ->
       logger:log(error, "LDAP client: Returning 'error' on query ~p ~p because handle '~p' is not valid", [Type, In, Handle]),
       error.
   
  
positive.code: 	    {Handle, Res}
      end.
  
  exec_ldapsearch(Mode, Handle, [Type, In, Attribute]) when record(Handle, ldaphandle) ->
      case catch exec_ldapsearch_unsafe(Handle, Type, In, [Attribute]) of
  	{'EXIT', E} ->
  	    logger:log(error, "=ERROR REPORT==== from ldapsearch_unsafe(~p, ~p, ~p, ~p) :~n~p",
  		       [Handle, Type, In, Attribute, E]),
  	    error;
  	none ->
  	    none;
  
negative.code: 	[{dn, Dn, attributes, EAttributes} | Rest] ->
  	    case Mode of
  		simple ->
  		    lists:sort(get_valuelist([{dn, Dn, attributes, EAttributes} | Rest], AttrIn));
  		full ->
  		    [{dn, Dn, attributes, EAttributes} | Rest]
  	    end;
  