DEV Community

Steve Mak
Steve Mak

Posted on

LDAP

LDAP (Lightweight Directory Access Protocol)

  • LDAP目錄的條目(entry)由屬性(attribute)的一個聚集組成,並由一個唯一性的名字參照,即專有名稱(distinguished name,DN)。例如,DN能取這樣的值:「ou=people,dc=wikipedia,dc=org」。
  • LDAP is appropriate for any kind of directory-like information, where fast lookups and less-frequent updates are the norm.
  • LDAP does not define how programs work on either the client or server side. It defines the "language" used for client programs to talk to servers (and servers to servers, too).

Normal Attribute Name (X.500 standard)

Attribute Meaning Example
dn Distinguished name
dc
o Organization
ou
c Country Country: e.g GB for Great Britain.
cn Common name CN=Guy Thomas. Actually, this LDAP attribute can be made up from givenName joined to SN.
sn Surname
givenName
homeDrive Home Folder: connect. Tricky to configure.
name name = Guy Thomas. Exactly the same as CN.
displayName
objectClass objectClass = User. Also used for Computer, organizationalUnit, even container. Important top-level container.
title Job title title = Manager
description Description
mail E-mail
wWWHomePage User's home page

Reference

GUI LDAP Client tool

Filter

Postmark Image

Speedy emails, satisfied customers

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs

👋 Kindness is contagious

Immerse yourself in a wealth of knowledge with this piece, supported by the inclusive DEV Community—every developer, no matter where they are in their journey, is invited to contribute to our collective wisdom.

A simple “thank you” goes a long way—express your gratitude below in the comments!

Gathering insights enriches our journey on DEV and fortifies our community ties. Did you find this article valuable? Taking a moment to thank the author can have a significant impact.

Okay