What is LDAP used for?

前端 未结 16 848
眼角桃花
眼角桃花 2020-12-12 09:29

I know that LDAP is used to provide some information and to help facilitate authorization.

But what are the other usages of LDAP?

相关标签:
16条回答
  • 2020-12-12 10:03

    Well, LDAP is a protocol(way) to access structured info. LDAP uses client-server model so, LDAP client makes request to access required info. LDAP server stores info not in relational way but in attribute and value pair. You can use LDAP to assign same privilege to group of user or same credential to access multiple services. For more details refer following link : http://www.zytrax.com/books/ldap/ch2/

    0 讨论(0)
  • 2020-12-12 10:04
    • LDAP main usage is to provider faster retrieval of data . It acts as a central repository for storing user details that can be accessed by various application at same time .

    • The data that is read various time but we rarely update the data then LDAP is better option as it is faster to read in it because of its structure but updating(add/updatee or delete) is bit tedious job in case of LDAP

    • Security provided by LDAP : LDAP can work with SSL & TLS and thus can be used for sensitive information .

    • LDAP also can work with number of database providing greater flexibility to choose database best suited for our environment

    • Can be a better option for synchronising information between master and its replicase
    • LDAP apart from supporting the data recovery capability .Also , allows us to export data into LDIF file that can be read by various software available in the market
    0 讨论(0)
  • 2020-12-12 10:04

    In Windows Server LDAP is a protocol which is used for access Active Directory object, user authentication, authorization.

    0 讨论(0)
  • 2020-12-12 10:06

    That's a rather large question.

    LDAP is a protocol for accessing a directory. A directory contains objects; generally those related to users, groups, computers, printers and so on; company structure information (although frankly you can extend it and store anything in there).

    LDAP gives you query methods to add, update and remove objects within a directory (and a bunch more, but those are the central ones).

    What LDAP does not do is provide a database; a database provides LDAP access to itself, not the other way around. It is much more than signup.

    0 讨论(0)
  • 2020-12-12 10:06

    Light weight directory access protocal is used to authenticate users to access AD information

    0 讨论(0)
  • 2020-12-12 10:07

    I will focus on why using LDAP, not what is LDAP.

    The use model is similar like how people use library cards or phonebooks. When you have a task that requires “write/update once, read/query many times”, you might consider using LDAP. LDAP is designed to provide extremely fast read/query performance for a large scale of dataset. Typically you want to store only a small piece of information for each entry. The add/delete/update performance is relatively slower compared with read/query because the assumption is that you don’t do “update” that often.

    Imagine you have a website that has a million registered users with thousands of page requests per second. Without LDAP, every time users click a page, even for static page viewing, you will probably need to interact with your database to validate the user ID and its digital signature for this login session. Obviously, the query to your database for user-validation will become your bottleneck. By using LDAP, you can easily offload the user validation and gain significant performance improvement. Essentially, in this example, LDAP is another optimization layer outside your database to enhance performance, not replacing any database functions.

    LDAP is not just for user validation, any task that has the following properties might be a good use case for LDAP:

    1. You need to locate ONE piece of data many times and you want it fast

    2. You don’t care about the logic and relations between different data

    3. You don’t update, add, or delete the data very often

    4. The size of each data entry is small

    5. You don’t mind having all these small pieces of data at a centralized place

    0 讨论(0)
提交回复
热议问题