13 Haziran 2009

adding an index to an attribute:


dn: cn=catalogs
changetype: modify
add: orclindexedattribute
orclindexedattribute: departmentnumber

ldapmodify -h localhost -p 389 -D "cn=orcladmin" -f addAttribute.txt

ps: there should not be any objects having this attribute. meaning: put the index first, then create/import objects.

Howto change query size in OID

OID defaults to 1000 entries for every search operation. Importing following ldif will change the orclsizelimit resultset size:


changetype: modify
replace: orclsizelimit
orclsizelimit: 50000

ldapmodify -h localhost -p 389 -D "cn=orcladmin" -f changeSize.txt