anchor.diff:  %%% Created : 09 Oct 2003 by Fredrik Thulin <ft@it.su.se>
   %%%-------------------------------------------------------------------
   -module(sipuserdb_ldap).
  +
  +-behaviour(sipuserdb).
   
   %%--------------------------------------------------------------------
   %% External exports
  
positive.code: 		none ->
  		    logger:log(debug, "userdb-ldap: No user found for address ~p in LDAP (server ~p)", [Address, Server]),
  		    nomatch;
  		[{dn, Dn, attributes, EAttributes}] ->
  		    case directory:get_value({dn, Dn, attributes, EAttributes}, UserAttribute) of
  			QRes when is_list(QRes) ->
  			    logger:log(debug, "userdb-ldap: Found LDAP user for ~p, dn ~p: ~p", [Address, Dn, QRes]),
  			    QRes;
  			Foo ->
  
negative.code: %% Include files
  %%--------------------------------------------------------------------
  -include("siprecords.hrl").
  -include("directory.hrl").
  
  %%====================================================================
  %% External functions
  