anchor.diff:  %%           were multiple matches.
   %% Returns : Value = string() | none
   %%--------------------------------------------------------------------
  -get_value({dn, _Dn, attributes, EAttributes}, Attribute) when is_list(Attribute) ->
  +get_value(#ldapres{attributes=EAttributes}, Attribute) when is_list(Attribute) ->
       get_value2(EAttributes, Attribute).
   
   %% get_value2/2 is not exported. EAttributes is a list() of {Key, Value}
  
positive.code: %%           Res = list() of SearchRes |
  %%                 none                |
  %%                 error
  %%                 SearchRes = {dn, Dn, attributes, Attributes}
  %%           Dn         = string(), distinguished name
  %%           Attributes = list() of string()
  %%--------------------------------------------------------------------
  handle_call({search, Server, Type, In, Attributes}, _From, State) ->
      case State#state.server of
  
negative.code: %%           Dn          = string()
  %%           RAttributes = list() of string()
  %% Descrip.: Turn a list of eldap module query results into our own
  %%           result format (ldapres records).
  %% Returns : Res = list() of ldapres record()
  %%--------------------------------------------------------------------
  get_ldapres(In) ->
      get_ldapres(In, []).
  
  get_ldapres([], Res) ->
      lists:reverse(Res);
  get_ldapres([{eldap_entry, Dn, RAttributes} | T], Res) ->
      This = #ldapres{dn=Dn, attributes=RAttributes},
      get_ldapres(T, [This | Res]).
  
  %%--------------------------------------------------------------------
  %% Function: ldap_connect(Server)
  