Copying a search limit group by using the command line

You can use the command line to copy a search limit group. Copying a search limit group is useful if you want to have the same search limit group under localhost and IBMpolicies.

Procedure

  1. To view the search groups within localhost, run the following command:
    idsldapsearch -b cn=localhostobjectclass=ibm-searchLimits
  2. Select the search limit group that you want to copy. Use an editor to change the appropriate information and save the changes to filename. Run the following command:
    idsldapmodify -a -D adminDN -w adminPW -i 
    filename
    Where filename contains the following information:
    Dn: cn=NewSearch1, cn=localhost
    Cn: NewSearch1
    member: cn=user1,o=sample
    member: cn=user2,o=sample
    ibm-searchTimeLimit: 4000
    ibm-searchSizeLimit: 2000
    objectclass: top
    objectclass: ibm-searchLimits
    objectclass: groupofNames