anchor.diff:  	    Path = "dc="++MyHost++",dc=ericsson,dc=se",
   	    delete_old_contents(H, Path),
   	    add_new_contents(H, Path, MyHost),
  -	    _Ok = eldap:close(H),
  +	    eldap:close(H),
   	    [{eldap_path,Path}|Config];
   	Other ->
   	    ct:fail("initialize_db failed: ~p",[Other])
  
positive.code: start_tls_twice_should_fail(Config) ->
      {ok,H} = open_bind(Config),
      {error,tls_already_started} = eldap:start_tls(H, []),
      _Ok = eldap:close(H),
      ok.
  
  %%%----------------------------------------------------------------
  %%% Test that start_tls on an ldaps connection fails
  start_tls_on_ssl_should_fail(Config) ->
      {ok,H} = open_bind(Config),
      {error,tls_already_started} = eldap:start_tls(H, []),
      _Ok = eldap:close(H),
      ok.
  
  %%%----------------------------------------------------------------
  encode(_Config) ->
  
negative.code: 			  {deref,  eldap:neverDerefAliases()},
  			  {attributes, ["+"]}]) of
  	{ok,R=#eldap_search_result{}} ->
  	    eldap:close(H),
  	    lists:member(OID,
  			 [SE || EE <- R#eldap_search_result.entries,
  				{"supportedExtension",SEs} <- EE#eldap_entry.attributes,
  				SE<-SEs]);
  	_ ->
  	    eldap:close(H),
  	    false
      end.
  
  