The software described in this documentation is either in Extended Support or Sustaining Support. See https://www.oracle.com/us/support/library/enterprise-linux-support-policies-069172.pdf for more information.
Oracle recommends that you upgrade the software described by this documentation as soon as possible.
To add users to an existing group in LDAP:
Create an LDIF file that defines the users that should be added to the
memberuidattribute for the group, for exampleemployees-add-users.ldif:dn: cn=employees,ou=Groups,dc=mydom,dc=com changetype: modify add: memberUid memberUid: arc815 dn: cn=employees,ou=Groups,dc=mydom,dc=com changetype: modify add: memberUid memberUid: arc891 ...
If you have configured LDAP authentication, use the following command to add the group to LDAP:
#
ldapmodify -xcWD "cn=admin,dc=mydom,dc=com"\-f employees-add-users.ldifEnter LDAP Password:modifying entry "cn=employees,ou=Groups,dc=mydom,dc=com" ...user_passwordIf you have configured Kerberos authentication, use kinit to obtain a ticket granting ticket (TGT) for the
adminprincipal, and use this form of the command:#
ldapmodify -f employees-add-users.ldifVerify that the group has been updated in LDAP:
#
ldapsearch -LLL -x -b "dc=mydom,dc=com" gidNumber=626dn: cn=employees,ou=Groups,dc=mydom,dc=com cn: employees gidNumber: 626 objectClass: top objectClass: posixGroup memberUid: arc815 memberUid: arc891 ...

