anchor.diff:  %% Include files
   %%--------------------------------------------------------------------
   -include("siprecords.hrl").
  +-include("directory.hrl").
   
   %%====================================================================
   %% External functions
  
positive.code: 				       [Address, Foo]),
  			    error
  		    end;
  		[{dn, _Dn, attributes, _EAttributes} | _Rest] ->
  		    logger:log(debug, "userdb-ldap: Query for exactly one user matching address ~p failed, multiple users found",
  			       [Address]),
  		    error;
  
negative.code: 		none ->
  		    logger:log(debug, "userdb-ldap: No user found for address ~p in LDAP (server ~p)", [Address, Server]),
  		    nomatch;
  		[LDAPres] when is_record(LDAPres, ldapres) ->
  		    case directory:get_value(LDAPres, UserAttribute) of
  			QRes when is_list(QRes) ->
  			    Dn = LDAPres#ldapres.dn,
  			    logger:log(debug, "userdb-ldap: Found LDAP user for ~p, dn ~p: ~p", [Address, Dn, QRes]),
  			    QRes;
  			Foo ->
  