anchor.diff:  	 can_use_address/2,
   	 can_use_address_detail/2,
   	 realm/0]).
  +
  +
  +-include("siprecords.hrl").
   
   %% MD5 digest 'formula'
   %%
  
positive.code: 	    get_user_verified2(Method, Authheader)
      end.
  
  get_user_verified2(Method, ["GSSAPI" ++ Authheader]) ->
      Authorization = sipheader:auth(["GSSAPI" ++ Authheader]),
      Info = dict:fetch("info", Authorization),
      {Response, Username} = gssapi:request(Info),
      %% XXX this is definately broken! What does gssapi:request() return anyways?
  
negative.code:     end.
  
  %%--------------------------------------------------------------------
  %% Function: can_use_address(User, URL)
  %%           User    = string()
  %%           URL     = sipurl record()
  %% Descrip.: Check if a given User may use address Address as From:
  %%           by using the function can_use_address_detail/2 not caring
  %%           about the reason it returns.
  %% Returns : true  |
  %%           false
  %%--------------------------------------------------------------------
  can_use_address(User, URL) when is_list(User), is_record(URL, sipurl) ->
      case local:can_use_address_detail(User, URL) of
  	{true, _} -> true;
  	{false, _} -> false
      end.
  
  %%--------------------------------------------------------------------
  %% Function: can_use_address_detail(User, URL)
  %%           User    = string()
  %%           URL     = sipurl record()
  %% Descrip.: Check if a given User may use address Address as From:
  %% Returns : {Verdict, Reason}
  %%           Verdict = true | false
  %%           Reason  = ok | eperm | nomatch | error
  %%--------------------------------------------------------------------
  can_use_address_detail(User, URL) when is_list(User), is_record(URL, sipurl) ->
      case local:get_users_for_url(URL) of
  	[User] ->
  	    logger:log(debug, "Auth: User ~p is allowed to use address ~p",
  