Unix – id does not show group names from groups in LDAP

I recently faced the challenge that group names are not displayed calling e.g. id jonas when managing my groups in LDAP which is connected via SSSD. My fault was that I forgot to add the following lines to my domain in /etc/sssd/sssd.conf:

ldap_group_object_class = posixGroup
ldap_group_search_base = ou=groups,dc=example,dc=com
ldap_group_name = cn
ldap_group_member = memberUid

Hope this hint helps here and there.