anchor.diff:  	    none;
   	error ->
   	    error;
  -	[{dn, _Dn, attributes, _EAttributes} | _] = SearchRes ->
  +	[H | _] = SearchRes when is_record(H, ldapres) ->
   	    case Mode of
   		simple ->
   		    [FindAttr] = Attr,
  
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: %%           were multiple matches.
  %% Returns : Value = string() | none
  %%--------------------------------------------------------------------
  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}
  