Open main menu
Home
Random
Recent changes
Special pages
Community portal
Preferences
About Wikipedia
Disclaimers
Incubator escapee wiki
Search
User menu
Talk
Dark mode
Contributions
Create account
Log in
Editing
Lightweight Directory Access Protocol
(section)
Warning:
You are not logged in. Your IP address will be publicly visible if you make any edits. If you
log in
or
create an account
, your edits will be attributed to your username, along with other benefits.
Anti-spam check. Do
not
fill this in!
==Protocol overview== A client starts an LDAP session by connecting to an LDAP server, called a [[Directory System Agent]] (DSA), by default on [[Transmission Control Protocol|TCP]] and [[User Datagram Protocol|UDP]] [[Port (computer networking)|port]] 389, or on port 636 for [[LDAPS]] (LDAP over TLS/SSL, see below).<ref>{{Cite web|url = https://www.iana.org/assignments/service-names-port-numbers/service-names-port-numbers.xhtml?search=ldap|title = Service Name and Transport Protocol Port Number Registry|publisher = [[IANA]]|access-date = 24 March 2021}}</ref> The client then sends an operation request to the server, and a server sends responses in return. With some exceptions, the client does not need to wait for a response before sending the next request, and the server may send the responses in any order. All information is transmitted using [[Basic Encoding Rules]] (BER). The client may request the following operations: * [[StartTLS]] β use the LDAPv3 [[Transport Layer Security]] (TLS) extension for a secure connection * Bind β [[authenticate]] and specify LDAP protocol version * Search β search for and/or retrieve directory entries * Compare β test if a named entry contains a given attribute value * Add a new entry * Delete an entry * Modify an entry * Modify Distinguished Name (DN) β move or rename an entry * Abandon β abort a previous request * Extended Operation β generic operation used to define other operations * Unbind β close the connection (not the inverse of Bind) In addition the server may send "Unsolicited Notifications" that are not responses to any request, e.g. before the connection is timed out. A common alternative method of securing LDAP communication is using an [[Secure Sockets Layer|SSL]] [[tunneling protocol|tunnel]]. The default port for LDAP over SSL is 636. The use of LDAP over SSL was common in LDAP Version 2 (LDAPv2) but it was never standardized in any formal specification. This usage has been deprecated along with LDAPv2, which was officially retired in 2003.<ref>[http://tools.ietf.org/html/rfc3494 RFC3494]</ref>
Edit summary
(Briefly describe your changes)
By publishing changes, you agree to the
Terms of Use
, and you irrevocably agree to release your contribution under the
CC BY-SA 4.0 License
and the
GFDL
. You agree that a hyperlink or URL is sufficient attribution under the Creative Commons license.
Cancel
Editing help
(opens in new window)