anchor.diff:      {stop, normal, State};
   
   handle_cast({{addRequest, Options}, MessageID, BindDN, From}, State) ->
  -    {'AddRequest'} = Options,
  +    {'AddRequest', DN, Attributes} = Options,
  +    Result = add(BindDN, DN, Attributes),
  +    Response = #'LDAPResult'{resultCode = Result, matchedDN = "", diagnosticMessage = ""},
  +    ldap_fsm:reply(From, {{addResponse, Response}, MessageID}),
       {stop, normal, State};
   
   handle_cast({{delRequest, Options},_MessageID,_BindDN,_From}, State) ->
  
positive.code: 		_Else -> protocolError
  	    end
      end.	
  		
  item_to_attribute({_Name, {oid, _}}) ->
      [];
  item_to_attribute({<<"_rdn">>,_}) ->
      [];
  item_to_attribute({Name, Value}) when is_bitstring(Name),
  				      is_bitstring(Value) ->
      {'PartialAttribute', 
       bitstring_to_list(Name), 
       [bitstring_to_list(Value)]};
  item_to_attribute({Name, {array, Value}}) when is_bitstring(Name), 
  					       is_list(Value) ->
      lists:map(fun(V) -> 
  		      {'PartialAttribute', 
  		       bitstring_to_list(Name),
  		       [bitstring_to_list(V)]}
  	      end, Value).
  
  handle_cast({{bindRequest, Options}, MessageID,_BindDN, From}, State) ->
      {'BindRequest',_, BindDN, Creds} = Options,
  
negative.code: 		    ScopeFilter ++ EntryFilter,
  		    FieldsOption ++ LimitOption).
  
  %% @doc @todo
  search_reply(_From, SearchResult,_MessageID) when is_atom(SearchResult) ->
      SearchResult;
  search_reply(From, [Item|Result], MessageID) ->
  