This document is obsolete. Please
refer to RFC 1960.
Network Working Group T. Howes Request for Comments: 1558 University of Michigan Category: Informational December 1993
A String Representation of LDAP Search Filters
Status of this Memo
This memo provides information for the Internet community. This memo does not specify an Internet standard of any kind. Distribution of this memo is unlimited.
The Lightweight Directory Access Protocol (LDAP)  defines a network representation of a search filter transmitted to an LDAP server. Some applications may find it useful to have a common way of representing these search filters in a human-readable form. This document defines a human-readable string format for representing LDAP search filters.
where the LDAPString above is limited to the IA5 character set. The AttributeType is a string representation of the attribute object identifier in dotted OID format (e.g., "184.108.40.206"), or the shorter string name of the attribute (e.g., "organizationName", or "o"). The AttributeValue OCTET STRING has the form defined in . The Filter is encoded for transmission over a network using the Basic Encoding Rules defined in , with simplifications described in .
<attr> is a string representing an AttributeType, and has the format defined in . <value> is a string representing an AttributeValue, or part of one, and has the form defined in . If a <value> must contain one of the characters '*' or '(' or ')', these characters
Howes [Page 2]
RFC 1558 Representation of LDAP Filters December 1993
should be escaped by preceding them with the backslash '\' character.
 Yeong, W., Howes, T., and S. Kille, "Lightweight Directory Access Protocol", RFC 1487, Performance Systems International, University of Michigan, ISODE Consortium, July 1993.
 Howes, T., Kille, S., Yeong, W., and C. Robbins, "The String Representation of Standard Attribute Syntaxes", RFC 1488, University of Michigan, ISODE Consortium, Performance Systems International, NeXor Ltd., July 1993.
 "Specification of Basic Encoding Rules for Abstract Syntax Notation One (ASN.1)", CCITT Recommendation X.209, 1988.