LDAP

Lightweight Directory Access Protocol

Protocol →
Introduced in Rel-8 Also in: Management

LDAP is an open, vendor-neutral protocol for accessing distributed directory services over IP networks, used in 3GPP for subscriber provisioning, EIR access, and network configuration management.

Category
Protocol
Introduced
Rel-8
Where
Core Network › 5G Core
Also touches
1 segments
Specifications
6 specs
LDAP Description Purpose Related Specifications

Description

The Lightweight Directory Access Protocol (LDAP) is a standardized, TCP/IP-based protocol defined by the IETF (RFC 4511) for querying and modifying directory services. A directory in this context is a specialized database optimized for read efficiency, frequent searches, and hierarchical organization of descriptive, attribute-based data. LDAP provides a client-server model where an LDAP client (e.g., a network function) sends requests to an LDAP directory server to perform operations like search, compare, add, delete, and modify on entries within the Directory Information Tree (DIT). Each entry is uniquely identified by a Distinguished Name (DN) and consists of a collection of attributes, each with a type and one or more values, governed by a schema. In 3GPP architectures, LDAP is employed as a lightweight and efficient interface to various data repositories. A prime example is the integration with the Equipment Identity Register (EIR), where network elements like MMEs or AMFs use LDAP to query the EIR database to check a mobile device's IMEI against blacklist, greylist, or whitelist. It is also extensively used in management domains for provisioning subscriber data into the Home Subscriber Server (HSS) or for retrieving network configuration data. The protocol operates typically on port 389 (or 636 for LDAPS, the SSL-secured version). An LDAP search operation, the most common, allows clients to specify a base DN, a search scope (base, one-level, subtree), and a filter to precisely locate entries matching criteria like "uid=user123". Its efficiency for read-heavy operations, standardized nature, and support for complex hierarchical data structures make it a preferred choice for integrating auxiliary databases and management systems within telecom networks without requiring heavy, transaction-oriented database protocols.

Purpose & Motivation

LDAP was adopted within 3GPP systems to address the need for a standardized, efficient, and widely supported method for network elements to access external directory-style databases. Prior to its use, proprietary interfaces or heavier database protocols could be used, leading to integration complexity and vendor lock-in. The protocol's design as a lightweight alternative to the X.500 Directory Access Protocol (DAP) made it ideal for the high-volume, low-latency query requirements of telecommunications networks. For functions like IMEI checking in the EIR, the network requires a fast, simple "check this identifier and return a status" operation, which aligns perfectly with LDAP's search capability. Its hierarchical data model is well-suited for representing structured network and subscriber data. The motivation for its inclusion was interoperability and operational efficiency: by specifying LDAP as a standard interface, 3GPP ensured that operators could deploy best-of-breed directory servers (like OpenLDAP or commercial offerings) and have various network functions from different vendors connect to them seamlessly. It solved the problem of providing a common access method for shared data repositories (like banned device lists or configuration directories) across a multi-vendor network, simplifying operations, reducing development cost for equipment vendors, and enhancing network security and management capabilities.

Evolution Across Releases

Rel-8 Initial

Formally specified within 3GPP as a standard protocol interface for accessing the Equipment Identity Register (EIR) and for management data provisioning. Established its role as a lightweight directory access method, providing an alternative to proprietary interfaces for database queries in the evolving EPS architecture.

Explore further

Broader topics and technologies where LDAP plays a role.

Defining Specifications

3GPP specifications that define or reference LDAP, with the latest known release. Sourced from the 3GPP document catalog — see methodology.

SpecificationTitleRelease
TS 23.845 va00 UDC Evolution Study Rel-10
TS 24.524 vj00 Hosted Enterprise Services Architecture Rel-19
TR 29.935 vj00 HSS Reference Data Model for Ud Interface Rel-19
TS 32.101 vj00 Management principles and high-level requirements Rel-19
TS 32.622 vb10 Generic Network Resources IRP NRM Rel-11
TR 32.901 vj00 UDC Application Data Models Study Rel-19