Skip to main content

LDAP

Lightweight Directory Access Protocol

DSA

Directory System Agent

Provide LDAP service

Entry

Include

  • DN
  • Attributes
  • Classes

DN

Distinguished Name

Unique ID string of entry

<filter>

(<attribute><operator><value>)

Ref: Search Filter Syntax

Matching rule

(<attribute>:<matching rule OID>:=<value>)
<operator>Meaning
=Equality
>=Greater than or equal to (lexicographical)
<=Less than or equal to (lexicographical)

not

(!<filter>)

or

(|<filter><filter>...)

and

(&<filter><filter>...)

<value>

Wildcard

[*]<value>[*]
<text>

Not empty <attribute>

(<attribute>=*)

Special Characters

Escape Characters \<ascii code (2 digits)>

CharacterCode
*\2A
(\28
)\29
\\5C
Nul\00

objectCategory and objectClass

  • objectCategory is single valued and indexed
  • objectClass is multi-valued and not indexed
objectCategoryobjectClassResult
personuseruser objects
personuser and contact objects
personcontactcontact objects
useruser and computer objects
computercomputer objects
useruser and contact objects
contactcontact objects
computercomputer objects
personuser, computer, and contact objects
contactuser and contact objects
groupgroup objects
groupgroup objects
personorganizationalPersonuser and contact objects
organizationalPersonuser, computer, and contact objects
organizationalPersonuser and contact objects