I am a complete rookie when it comes to LDAP, so my apologies if what I am about to ask is something obvious.

I have an LDIF file that contains entries like the following:

# someuser, individuals, mydomain.com
dn: uid=someuser,ou=individuals,dc=mydomain,dc=com
uid: someuser
cn: someuser
objectClass: account
objectClass: posixAccount
loginShell: /bin/bash
uidNumber: 1000
gidNumber: 100
homeDirectory: /home/someuser

When used in conjunction with NSS in a Linux box, this allows me to centralize a number of Linux attributes for users - a specific one here called 'someuser'. The next thing I would like to do is to store information in the LDAP server about other groups that someuser belongs to. For example, besides 'users' (GID 100) someuser might belong to 'power' (GID 84) , 'mysql' (GID 27) and 'cdrom' (GID 19). Can anybody please point me in the right direction how to pull this off?