title: memberOf vs. groupMembership in LDAP (Liferay)
body: <p>What is the difference b/n memberOf attribute and groupMembership attribute when used in LDAP Authentication settings in Liferay?</p>
  
  <p>The users are imported successfully.
  The groups are also imported successfully.</p>
  
  <p>But the users are not assigned to the groups automatically. And when I changed the group variable from 'groupMembership' to 'memberOf', several users are not able to login to Liferay. </p>
  
  <p>What exactly are memberOf and groupMembership variables?</p>
  
  <p><img src="https://i.stack.imgur.com/lcyAb.jpg" alt="LDAP Liferay Settings"></p>