76 search results for LDAP

... \Component\Ldap\Ldap login_path: login check_path: login dn_string: '{username}'` So what did you thing I have wrong in security.yml?
skocdopolet
skocdopolet
Read Full Comment
Thank you Ryan for your quick response. You're the best. The die('executed') is being reached. On Apache I don't have to do any configuration at all? Only make sure the ldap modules are installed? All the ldap configuration needs to be done in Symfonies service.yaml and security.yaml? Many many thanks !!! ...
Hey Brent! Ah, sounds cool! Here are some pointers :). > installed the Ldap package, added a service, a separate user provider, firewall, routes and login form All good... maybe :). You may not need 2 separate ...
weaverryan
weaverryan
Read Full Comment
Hi truuslee ! Excellent debugging! And, I love stroopwafels ;). We were in Amsterdam last year for SymfonyCon, so we enjoyed many fresh stroopwafels ;). Ok, so we know the connection to the LDAP server on production ...
weaverryan
weaverryan
Read Full Comment
I realize this is a bit unrelated to this tutorial, but I'm trying to adapt this login to using LDAP as the back-end and I think I have everything working but I'm getting this error: `No resource class found for object ...
Hey truuslee! Excellent debugging! Hmm. So, once you're inside of `checkCredentials()`, this is all raw, Ldap logic, which I imagine would indicate some sort of misconfiguration... or something. This is where my lack ...
weaverryan
weaverryan
Read Full Comment
... Hi truuslee! > On Apache I don't have to do any configuration at all? Only make sure the ldap modules are installed? Unfortunately, I have no idea! But yes, this is my "feeling". If you have all the ldap configuration ...
weaverryan
weaverryan
Read Full Comment
Yo Geoff Maddock! Ah, ok - it's much more clear now. And I think you're quite close. I haven't used Symfony's Ldap component directly yet, so some of my recommendations might not be quite right. But yes, I *believe ...
weaverryan
weaverryan
Read Full Comment
Hi truuslee! I'm far from an LDAP expert (more of a novice really!, but since you seem to know it well, let's see if we can figure this out together ;). The first question that comes to mind is: does the Symfony ...
weaverryan
weaverryan
Read Full Comment
I solved this by moving the LDAP lookup and authentication into authenticate rather than doing it in onAuthenticationSuccess. I also had to move adding a new user to the database into authenticate. In my case I could ...
Hey |mention:68143| , Thank you for your interest in SymfonyCasts tutorials! Unfortunately, we don't have a course about LDAP yet, and we're not planning to create on in the nearest future, but I added your idea to ...
This is simply taking the code from the course and trying to modify it for LDAP as the back-end auth. Of course I do actually want to store some information about the user locally and update from LDAP as necessary. So ...
Hi Ryan, (Mr. Stroopwafel). I was there at the SymfonyCon in Amsterdam. That was a real nice con. And i listened to your speech, the rest of the day I had stroopwafels on my mind! I've got ldap working. It was indeed ...
... Great! I don't know what the odds are of having an LDAP example slipped in to the curriculum might be but that would be great if it could.
Are you planning on doing a Ldap tutorial? The docs on Symfony's site is not that clear and there're not that many resources online on this. :/ ...
... help with your work there, but to simplify things, stop doing that. Instead, implement the LDAP lookup logic yourself in the authenticator. This could mean copying this method into your authenticator: https://github.com ...
weaverryan
weaverryan
Read Full Comment
... my_ldap: ldap: service: Symfony\Component\Ldap\Ldap base_dn: '%env(resolve:LDAP_BASE_DN)%' search_dn: '%env(resolve:LDAP_SEARCH_DN ...
Thank you for your response. It was definitely helpful to see the approach to configure and debug LDAP. Keep up the amazing work you're doing and I look forward to the next tutorial. ...
Hey Geoff Maddock! This is a *perfect* use-case for Guard authentication :). Ok, about your question. For LDAP, you probably *already* sent the credentials to LDAP inside getUser() in order to authenticate and get the ...
weaverryan
weaverryan
Read Full Comment
Hey |mention:22170| , Woh, that's a complex issue, I'm happy to hear you were able to workaround it. I personally don't use LDAP so it's hard to suggest you a better solution, but IMO this looks solid. I would ...