LDAP Overview

Yeastar K2 IPPBX - LDAP Server App provides a centralized phonebook management. With the LDAP phonebook, you can quickly launch calls without wasting time finding a contact’s number and subsequently entering it on your phone.

LDAP stands for Lightweight Directory Access Protocol which is a client-server protocol for accessing a directory service.

What kind of information can be stored in the LDAP directory?

The LDAP information model is based on entries.

An entry is a collection of attributes that has a globally-unique Distinguished Name (DN).

The DN is used to refer to the entry clearly. Each of the entry's attributes has a type and one or more values. The types are typically mnemonic strings, like "cn" for common name, or "mail" for email address.

The syntax of values depends on the attribute type. For example, a cn attribute might contain the value "Babs Jensen". A mail attribute might contain the value "babs@example.com".

Table 1. Common LDAP Attributes
Yeastar LDAP Server Option Attribute Alias
Nickname cn commonName
First Name gn givenName
Last Name sn surname
Email mail rfc822Mailbox
Mobile Number mobile mobileTelephoneNumber
Office Number telephoneNumber telephoneNumber
Home Number homePhone homeTelephoneNumber
Department departmentNumber departmentNumber

How is the information arranged?

In LDAP, directory entries are arranged in a hierarchical tree-like structure. The following figure shows an example of Yeastar K2 IPPBX LDAP directory tree.

Terminology
  • dc: Domain Component.
  • ou: Organization Unit, usually refers to a name of an organization unit.
  • cn: Common Name, usually refers to a contact name.