LdapRecord-Docs icon indicating copy to clipboard operation
LdapRecord-Docs copied to clipboard

More in-depth explanation for beginners and also for OpenLdap

Open Christiazz opened this issue 2 years ago • 2 comments

As the project looks amazing, is not very accessible for beginners, Also, almost everything in Laravel doc looks like is referring to Active Directory, there are only a few references to OpenLdap wich looks confusing.

Christiazz avatar Aug 24 '23 15:08 Christiazz

Hi @Christiazz!

Could you elaborate on what you found inaccessible or difficult to follow? I would definitely like to make it as accessible as possible, so your feedback on this is helpful.

Also, I chose to reference ActiveDirectory as its the most popular and feature rich provider of LDAP services and its the directory I personally interact with and know well. If you or anyone would like to PR OpenLDAP docs that would be greatly appreciated 🙏

stevebauman avatar Aug 24 '23 19:08 stevebauman

Hi and sorry for the late reply! You know, the docs in general are understandable, but for a beginner, at the end of the day it matters how specifically and where exactly you should put the code. Sometimes I get confused about wich was the example and wich was the actual code to write. At the end I succeded, but only after 2 weeks after making it work I am understanding the whole logic. It could be very helpful a kind of directly-to-the-point with step.1, step-2 ecc or a video where its shown only the necessary to don't get overhelmed, I know it's a lot of work and this is just an idea, not expecting anything :) Regard OpenLdap this way: 'model' => LdapRecord\Models\OpenLDAP\User::class, in the auth.php did work. so regarding that, nothing to say. As a beginner, I am not confident with OpenLdap at all, I had just a server using that instead of active directory (unfortunatly). Also what confused me, is that I had to use Sanctum + plain authentication and this combo is not specified in the docs. Using the Laravel ui + plain auth just worked fine. Thanks a lot!

Christiazz avatar Sep 08 '23 09:09 Christiazz