adding a group


While clicking through the objectClasses you may have found a objectClass "posixGroup" with required attribute "gidNumber" and allowed attributes "description", "memberUid" and "userPassword". Since luma is not yet able to handle groups, we should add it for ourself. We create the file:

group_users.ldif
dn: ou=users,dc=redfo,dc=de
ou: users
gidNumber: 1000
description: default user group
objectClass: top
objectClass: organizationalUnit
objectClass: posixGroup


As you see we add the posixGroup class to the existing ou users. This is because we need a structural object with posixGroup and organizationalUnit is a structural object. Use ldapmodify to modify the ou:

ldapmodify -x -D "cn=Manager,dc=redflo,dc=de" -W -f group_users.ldif
Enter LDAP Password:
modifying entry "ou=users,dc=redflo,dc=de"