LDAP-UX Client Services B.04.10 Administrator's Guide (edition 7)

add: gidNumber
gidNumber: 500
2. Use the ldapmodify tool to modify the existing entry with the LDIF file created in step 1.
For example, the following command modifies the dynamic group entry in the LDAP
directory server, ldaphost1, using the LDIF update file, new.ldif:
ldapmodify D cn=Directory Manager" w <passwd> h ldaphost1 p
389 f new.ldif
Examples
The following example is an HP-UX POSIX dynamic group entry with objectClass:
posixgroup and gidNumber: 500 information added:
dn: cn=dyngourp,ou=groups,dc=example,dc=hp,dc=com
objectClass: groupofuniquenames
objectClass: groupofnames
objectClass: groupofurls
objectClass: posixgroup
objectClass: top
cn: dyngroup
memberURL: ldap:///dc=example,dc=hp,dc=com??sub?(l=California)
gidNumber: 500
Specifying an LDAP URL for a Dynamic Group 79