Sun Java System Directory Server Enterprise Edition 6.0 Administration Guide

ProcedureTo Create a New Dynamic Group

You cannot use DSCC to perform this task. Use the command line, as described in this procedure.

    Create a new dynamic group by using the ldapmodify command.

    For example, to create a new dynamic group called Database Administrators and to add members with the surname Jensen, you could use this command:


    $ ldapmodify -a -h host1 -p 1389 -D cn=admin,cn=Administrators,cn=config -w -
    dn: cn=Database Administrators, ou=Groups, dc=example,dc=com
    cn: Database  Administrators
    objectclass: top
    objectclass: groupOfUrls
    ou: Groups
    memberURL: ldap:///dc=example,dc=com??sub?(sn=Jensen)