anchor.diff:  
           # Check all attributes
           for curAttrLDAP in attrs:
  -            valLDAP = ldapuser[curAttrLDAP]
  +            if curAttrLDAP[0] == '@':
  +                valLDAP = [('{0}@'+scope).format(i) for i in ldapuser[curAttrLDAP[1:]]]
  +            else:
  +                valLDAP = ldapuser[curAttrLDAP]
               valSP = spAttrs[attrs[curAttrLDAP]]
               if options.debug: print "Checking %s with %s for attribute: %s => %s" % (valLDAP, valSP, curAttrLDAP, attrs[curAttrLDAP])
               if not valSP in valLDAP:
  
positive.code: adminuser   = "<%= @rootdn %>"
  ldappasswd  = "<%= @rootldappw %>"
  ldapsrv     = "<%= @ldap_host %>"
  ssl         = <%=
      if @use_ssl
        "True"
  
negative.code:                   'givenName':'givenName',
                    'cn':'cn',
                    'mail':'mail',
                    'eduPersonScopedAffiliation':'affiliation',
                    'eduPersonPrincipalName':'eppn'}
  
          # Parse all attribute values in HTML.
  