67
69
+ 1
0

What is LDAP?

It is a mature, flexible, and well supported standards-based mechanism for interacting with directory servers. It’s often used for authentication and storing information about users, groups, and applications, but an LDAP directory server is a fairly general-purpose data store and can be used in a wide variety of applications.
LDAP is a tool in the User Management and Authentication category of a tech stack.

Who uses LDAP?

Companies
7 companies reportedly use LDAP in their tech stacks, including exagon’s Tech Stack, wescale, and R3D stack.

Developers
58 developers on StackShare have stated that they use LDAP.
Decisions about LDAP

Here are some stack decisions, common use cases and reviews by companies and developers who chose LDAP in their tech stack.

Pablo Largo
Software Developer at AvaiBook · | 7 upvotes · 20.7K views
Needs advice
on
C langC langPHPPHP
and
WindowsWindows

Hi! I'm working on some components in PHP for system administration to be released as reusable packages, to build some kind of server control panel with some time and patience.

I'm working on a credentials component to check things like the current user running the PHP process, the ability to change the password (which I would do through a shell command), and a very important feature: the ability to login with OS credentials.

For that purpose I'm already considering LDAP, but I want to support first an easy setup, like I would do for a small VPS. I want to login to my future panel with my Linux root credentials. This is very easy by parsing the /etc/passwd and /etc/shadow files, but I want to be multiplatform from the beginning.

How could I check a username/password in a similar way to login on Windows without having to configure Active Directory and similar things? I allow myself to use FFI to make external calls to native DLLs, so if the answer is on a Windows internal API it will not be a problem.

So, here is the question: is there any shell/C /C++ way to check if a given username and password matches a real Windows credential? Is there any way to check if that account is a root user? Thank you so much!

EDIT: If there's not any API to check a login, could it be done through reading the hashed password of a user, and hashing the provided one to check if they match? If so, how can you get the hashed password of a user, and how can you encode a password to compare both hashes?

See more

LDAP's Features

  • Lightweight directory access protocol
  • Used for authentication and storing information
  • General-purpose data store

LDAP Alternatives & Comparisons

What are some alternatives to LDAP?
Postman
It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.
Postman
It is the only complete API development environment, used by nearly five million developers and more than 100,000 companies worldwide.
Stack Overflow
Stack Overflow is a question and answer site for professional and enthusiast programmers. It's built and run by you as part of the Stack Exchange network of Q&A sites. With your help, we're working together to build a library of detailed answers to every question about programming.
Google Maps
Create rich applications and stunning visualisations of your data, leveraging the comprehensiveness, accuracy, and usability of Google Maps and a modern web platform that scales as you grow.
Elasticsearch
Elasticsearch is a distributed, RESTful search and analytics engine capable of storing data and searching it in near real time. Elasticsearch, Kibana, Beats and Logstash are the Elastic Stack (sometimes called the ELK Stack).
See all alternatives

LDAP's Followers
69 developers follow LDAP to keep up with related blogs and decisions.