title: Keycloak Active Directory integration
body: <p>I'm trying the Active Directory user federation that Keycloak offers and I'm failing to understand the difference between the property called <em>Username LDAP attribute</em> and the <em>username</em> mapper that's defined by default on the federation.</p>
  
  <p>The former is described as </p>
  
  <blockquote>
    <p>Name of LDAP attribute, which is mapped as Keycloak username</p>
  </blockquote>
  
  <p>While the latter is described as</p>
  
  <blockquote>
    <p>Name of the UserModel property or attribute you want to map the LDAP attribute into</p>
  </blockquote>
  
  <p>Aren't these two the same?</p>