Child pages
  • LDAP Stuff
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 6 Next »

Overview

This document contains helpful LDAP tips and tricks.

ACIs

ACI to restrict an attribute based on its existence of the attribute name as the value of another attribute:

(targetattr = "mail") (targetfilter =
(|(uoRestrictAttributeRestricted=mail)(uoRestrictAttributeInternal=mail))) (version 3.0;acl "Email privacy";deny (read,compare,search)(userdn = "ldap:///some dn" or userdn = "ldap:///some other dn");)

Search Rate

./searchrate -s base --baseDN "ou=pple,dc=ucsf,dc=edu" -a -t 30 --filter "objectclass=*" --maxOutstandingRequests 500 --port 1389 -D "cn=directory manager" --bindPasswordFile ~/Programming/directory/dirmanager -A cn

Tree Delete

Tree delete from the command line using OpenDS cli tools:

ldapdelete --hostname localhost --port 1636 --bindDN "cn=Directory Manager" -j /home/opendsuser/odspwd --trustAll --useSSL --noPropertiesFile -J 1.2.840.113556.1.4.805 ou=people,dc=ucsf,dc=edu
  • No labels