title: LDAP User are not put automatically into LDAP group in jira
body: <p>I have Jira 5.x locally installed and an OpenLDAP Server with Users and Groups. The Syncronisation in Jira get all users and groups perfectly, but the users do not belong to any group. I've set the default groups to enable LDAP users to login to Jira.</p>
  
  <p>What am I doing wrong?</p>
  
  <p>This is the LDAP Schema:</p>
  
  <pre><code>dn: uid=demo.user@domain.com,ou=intern,ou=people,dc=company,dc=local
  objectClass: posixAccount
  objectClass: account
  objectClass: ldapPublicKey
  homeDirectory: /home/demouser
  loginShell: /bin/bash
  cn: Demo User
  uidNumber: 10001
  gidNumber: 10001
  userPassword: {SSHA}xxxxxxxxxxx
  uid: demo.user@domain.com
  
  
  dn: cn=groupname,ou=project,ou=group,dc=company,dc=local
  objectClass: posixGroup
  description: a funny group for a project
  gidNumber: 10018
  cn: groupname
  memberUid: demo.user@domain.com
  memberUid: xyz
  memberUid: ...
  </code></pre>
  
  <p>If I run the Test in Jira, I'm getting the following error Message: </p>
  
  <blockquote>
    <p>Test get user's memberships with 0 groups retrieved. : Failed</p>
  </blockquote>
  
  <p>And these are the Settings in Jira:
  <img src="https://i.stack.imgur.com/Pke2z.png" alt="Jira Settings"></p>