Flexinets.Ldap.Server | Parse and assemble LDAP packets | Identity Management library
kandi X-RAY | Flexinets.Ldap.Server Summary
kandi X-RAY | Flexinets.Ldap.Server Summary
Semi working LDAP server for .NET Standard with pluggable backend. No intentions of supporting the whole RFC, just needed features like search and authentication. Ldap packet parser and assembler. This server can be used to support legacy applications that require an LDAP backend. The use cases are for example, authentication (Ldap bind) or user/membership lookup against an arbitrary database.
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of Flexinets.Ldap.Server
Flexinets.Ldap.Server Key Features
Flexinets.Ldap.Server Examples and Code Snippets
Community Discussions
Trending Discussions on Flexinets.Ldap.Server
QUESTION
I've searched without much success to the simplest (and yet working) example of an LDAP/AD Server for C#. Many libraries exist to connect to LDAP servers, but not the LDAP Server by itself (on C#).
I found however some information about it and even a post requesting a simple LDAP server that was answered "LDAP isn't simple"; and yet i read a lot of the RFC4511 and this sample code at GitHub Flexinet LDAP Server, but unfortunatly i don't have yet the knowledge to complete it's code.
My goal is not to make a fully functional LDAP server, but one that can at least do:
- Serve as a login pool for softwares that allow it's users to be registered and log on a AD/LDAP server (just check for login and password for authentication).
- Allow softwares like Outlook and Thunderbird to get a list of users (without passwords) with first and last name, e-mail address, phone number and department for contact list model.
- No delete, add (or create), move, and other functions are required since the main software that i aim to integrate it with will do all the user and group management.
UPDATE
I'm trying to implement the Flexinet sample and adjust to that functionalities; as form of a question what should i do to change this function to prevent it from causing an exception (on the "var filter = searchRequest.ChildAttributes[6];" line it always breaks) when i call from a LDAP client software:
...ANSWER
Answered 2018-Sep-21 at 13:12I found on the RFC4511 the explanation on how the search works ... and i'm "kind" of understanding it, not very well - and i see that the method implemented on the GitHub from Flexinet LDAP Server only answer to bind and search requests of one single user (since it's only a example implementation).
The client is requesting diferent calls to verify capabilities, structure and other info before making the search request itself. So i'll implement it all, one by one.
Still, if any other lib (in C#) exists, and anyone know about, would be better than writing a hole new server. If my implementation works, i'll fork it on github and share.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install Flexinets.Ldap.Server
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page