#1 2024-06-24 21:32:53

Greg0r
Member
Registered: 2019-01-28
Posts: 49

ldap sample

Hello,
is there any working example how to search for user in AD using mORMot2? (meanmormot.net.ldap.pas unit)

Offline

#2 2024-06-25 10:13:10

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,656
Website

Re: ldap sample

Use the TLdapClient class or the TLdapCheckMember class, if you just need to check user credentials.
Each method is very documented in the source code.

I just published some of my test code (with a lot of alternates) here:
https://gist.github.com/synopse/d0d1da8 … c84f50e544
Just to give you an idea.

You can also search this forum.
Like https://synopse.info/forum/viewtopic.php?id=6693

There is a LdapAdmin fork using mORMot too:
https://github.com/ibv/LDAP-Admin

Offline

Board footer

Powered by FluxBB