Using the command line

You can issue the command provided here to perform the same operations using the command line.

About this task

idsldapmodify -D <adminDN> -w <adminPW> -i <filename>
where <filename> contains:
dn: cn=Configuration
changetype: modify
replace: ibm-slapdTimeLimit
ibm-slapdTimeLimit:900
-
replace : ibm-slapdDerefAliases
ibm-slapdDerefAliases: {never|find|search|always}
-
replace: ibm-slapdSizeLimit
ibm-slapdSizeLimit:500

dn: cn=Directory,cn=RDBM Backends,cn=IBM Directory,cn=Schemas,cn=Configuration
changetype: modify
replace: ibm-slapdPagedResAllowNonAdmin
ibm-slapdPagedResAllowNonAdmin: false
-
replace: ibm-slapdPagedResLmt
ibm-slapdPagedResLmt: 3
-
replace: ibm-slapdSortKeyLimit
ibm-slapdSortKeyLimit: 3
-
replace: ibm-slapdSortSrchAllowNonAdmin
ibm-slapdSortSrchAllowNonAdmin: false

dn: cn=Front End, cn=Configuration
changetype: modify
replace: ibm-slapdIdleTimeOut
ibm-slapdIdleTimeOut:300 

dn: cn=VirtualListView, cn=Configuration
changetype: modify
replace: ibm-slapdVLVEnabled
ibm-slapdVLVEnabled: <value to be set as either true or false>
-
replace ibm-slapdMaxVLVBeforeCount
ibm-slapdMaxVLVBeforeCount: <value to be set in numerals>

dn: cn=Persistent Search, cn=Configuration 
changetype: modify 
replace: ibm-slapdEnablePersistentSearch 
ibm-slapdEnablePersistentSearch: TRUE
-
replace: ibm-slapdMaxPersistentSearches
ibm-slapdMaxPersistentSearches: <value to be set in numerals>
To update the settings dynamically, issue the following idsldapexop command:
idsldapexop -D <adminDN> -w<adminPW> -op readconfig -scope entire

See the ldapsearch command information in the Command Reference for more information on how to perform searches using the command line.