anchor.diff:  	true -> start_tls(H,Config);
   	_ -> Config
       end.
  -	    
  +
   start_tls(H, Config) ->
       KeyFile = filename:join([?config(data_dir,Config),
   			     "certs/client/key.pem"
  
positive.code:     Expected = #'AddRequest'{entry = "hejHopp",attributes = []},
      case Res of
  	Expected -> ok;
  	#'AddRequest'{entry= <<"hejHopp">>, attributes=[]} -> 
  	    {fail, "decoded to (correct) binary!!"};
  	_ ->
  	    {fail, "Bad decode"}
      end.
  	    
  
  
  %%%****************************************************************
  
negative.code:     ok = eldap:add(?config(handle, Config),
  		   "cn=Jonas Jonsson," ++  ?config(eldap_path, Config),
  		   [{"objectclass", ["person"]},
  		    {"cn", ["Jonas Jonsson"]},
  		    {"sn", ["Jonsson"]}]).
  
  %%%----------------------------------------------------------------
  add_already_exists(Config) ->
      {error, entryAlreadyExists} =
  	eldap:add(?config(handle, Config),
  		  "cn=Jonas Jonsson," ++ ?config(eldap_path, Config),
  		  [{"objectclass", ["person"]},
  		   {"cn", ["Jonas Jonsson"]},
  		   {"sn", ["Jonsson"]}]).
  
  %%%----------------------------------------------------------------
  