73 search results for LDAP

Hello, What must I do to make this work when (the first) authentication is not done with users entity but with ldap (active directory). The ldap authentication works great. We even use ldap for our voters. Roles and ...
Thanks for the followup. In my case, I did not query LDAP in getUser, just the User entity repo. In my case, all users (usernames) are in the User Entity database. So I don't have to get them from the LDAP server ...
Geoff Maddock
Geoff Maddock
Read Full Comment
... services.yaml ``` Symfony\Component\Ldap\Ldap: arguments: [ '@Symfony\Component\Ldap\Adapter\ExtLdap\Adapter' ] tags: - ldap Symfony\Component\Ldap\Adapter\ExtLdap\Adapter: arguments ...
Annemieke-B
Annemieke-B
Read Full Comment
... the '$e' > Symfony\Component\Ldap\Exception\ConnectionException {#320 ▼ > #message: "Can't contact LDAP server" Ok, this is kind of what I was expecting - that there is some connection issue. So, it appears - by looking ...
weaverryan
weaverryan
Read Full Comment
Hi Symfony Casts, I have ldap security all up and running in symfony 6+ and php 8+. I'm using an external ldap /active directory server. Local it was very easy to start with ldap security, because i used 'symfony ...
Annemieke-B
Annemieke-B
Read Full Comment
Hello, could anybody help me please with using multiple authentifications providers? I need authenticate users first from local user database (App\Entity\User) and then from LDAP. When the user is not found in local ...
skocdopolet
skocdopolet
Read Full Comment
Hey Ryan, Thanks for helping me out. I'm the only programmer here, so sometimes it just helps to talk to somebody about the problems i'm facing. This is a dump of the '$e' `Symfony\Component\Ldap\Exception ...
Hey Ryan, can I ask you a question about ldap? I have a symfony 5 application that works just great on centos 8 (on azure) with Apache 2.4.46. But now we want ldap to do the authentication. I have used ldap before ...
Trying to figure out how to check a user against LDAP inside of checkCredentials in a custom authenticator (in my case LoginFormAuthenticator). I have a feeling this must be easy, since the form_login_ldap does it ...
Geoff Maddock
Geoff Maddock
Read Full Comment
Hey Diego, Thank you for look at my problem. I try to change security.yml this way:`form_login: login_path: login check_path: login enable_csrf: true form_login_ldap: service: Symfony\Component\Ldap\Ldap login_path ...
skocdopolet
skocdopolet
Read Full Comment
... But if you login with a user that's only in LDAP, it will fail, throw an authentication error and NEVER try form_login_ldap. So... does having the "chain provider" help with this? MAYBE, and this is where my limited ...
weaverryan
weaverryan
Read Full Comment
Hey @Aaron! Unfortunately... that won't be included - it's a bit too specific, and nobody can follow along with it unless they have a handy LDAP server :/. But I know from experience that it can be confusing! There is ...
weaverryan
weaverryan
Read Full Comment
... Symfony\Component\Ldap\Ldap login_path: ldaplogin check_path: ldaplogin search_dn: 'cn=ldapuser,cn=Users,dc=example,dc=com' search_password ...
skocdopolet
skocdopolet
Read Full Comment
Hey Nitrox, Yeah, this tutorial is missing that LDAP, but we already complicated it a lot with 2FA authentication, so no LDAP this time as well, sorry! I'll add this topic to our ideas pool, but fairly speaking I'm not ...
Yes this seems like it's going to do what I want. Due to the bind function in the ldap component taking over on invalid credentials I wrote some lower level LDAP auth code using the built-in LDAP facilities so I could ...
Hi Annemieke! Bah, unfortunately, I have less than zero experience with LDAP + Docker, let alone LDAP + Docker + Apache... so I can't even muster a guess here. Sorry I can't be useful in this case! Good luck! ...
weaverryan
weaverryan
Read Full Comment
Hello friends of KNP. What I'm pretending to do is to include the LDAP for internal users in a Guard Authentication System configured by ddbb. I already have build my Guard Authentication System and works really nice ...
Ricard Espinàs
Ricard Espinàs
Read Full Comment
Awesome course! I would like to ask for some advise. We have two kinds of users in our application: 1. company employee with account information in LDAP 2. third party users who can register and account information ...
superbull
superbull
Read Full Comment
Hi Paul-André! Unfortunately, I don't know a lot personally about LDAP. But, I do know a lot about Guard, so I'll do my best to help :). 1) Since you're using Guard, obviously you need to do a little bit more work ...
weaverryan
weaverryan
Read Full Comment
... \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