76 search results for LDAP

... ) { // this will fail authentication return; } $userExistsInLdapMode = '...'; // add the check for "if the user exist in the LDAP mode" if ($userExistsInLdapMode ...
weaverryan
weaverryan
Read Full Comment
... originally authenticated via LDAP and the other from the database. Sound about right? Here are some points: A) I would create a single User class. The only difference between employees and third-party users is that, when ...
weaverryan
weaverryan
Read Full Comment
... ) libcurl/7.19.7 NSS/3.16.2.3 Basic ECC zlib/1.2.3 libidn/1.18 libssh2/1.4.2 Protocols: tftp ftp telnet dict ldap ldaps http file https ftps scp sftp Features: GSS-Negotiate IDN IPv6 Largefile NTLM SSL libz Cheers! :)
... " for refreshing and passing the user at the beginning of each request and the effective injection of an other "ldap user provider" used for convenience later on... Without the ChainProvider existence, the things are ...
Paul-André Duchesne
Paul-André Duchesne
Read Full Comment
... I think I'm getting the hang of the new security component but stuck on where to do somethings. Our application uses LDAP for authentication which has been successfully moved into CustomCrendentials - no problem there ...
Hello and first of all thank you for the great course. I currently have a question: I wrote a unit test that checks the user login for a disabled user. In my CustomAuthenticator (i login against ldap and database ...
... use ldap for authentication and authorization in symfony 5.4. This works fine as long as we do not set 'enable_authenticator_manager' to true. We want to use the LdapAuthenticator class of course, but the code first ...
Annemieke-B
Annemieke-B
Read Full Comment
Same error running the site on the local symfony server so I'm sure I'm doing something wrong now. I will say that I changed the user ID field from email to username since this is ldap and I'm grabbing the username ...
... didn't have time to visit other parts of the country). > I've got ldap working. It was indeed just getting the config right Woohoo! Yea, this is a particularly hard area because Symfony, sort of, "hides" the real error ...
weaverryan
weaverryan
Read Full Comment
... i put a lot of security in voters and not so mutch in roles in the user provider i wonder how i can create this list of users. An example of what i do in a voter is check if user is a manager in ldap/activedirectory ...
... *many* ways as you want - like a login form, API token header, LDAP, anything. Basically, the user can then *choose* how to log in. But ultimately, in your code when you call `$this->getUser()`, you don't care *how* they ...
weaverryan
weaverryan
Read Full Comment
composer require security

... authentication, social authentication with OAuth, SSO's, LDAP, putting on a fake mustache and walking confidently passed a security guard. I mean... the possibilities are endless. But I also think that authentication is super fun. So ...

5:07
Security the User Class

... like an LDAP server or a single sign-on server? Well, even in those cases, if you want to store any extra information about your users in a local database table, you should still answer yes. Answer "no" only if you don't ...

6:30
Security Fundamentals

Security Fundamentals¶ Symfony comes with a security component that’s really powerful. Honestly, it’s also really complex. It can connect with other authentication systems like Facebook or LDAP - or load user ...

3:47
... loadUserByUsername method of the ldap client. If (s)he's found, I return false meaning the username was right but password not and if (s)he's not found, I check if password is valid against the database. If yes, the ...
Paul-André Duchesne
Paul-André Duchesne
Read Full Comment
... list of objects from a database (or ldap). Now, to your situation :). A few points: A) based on my long-winded answer above, what you need to do is determine a way to "query" active directory to get the user list, instead ...
weaverryan
weaverryan
Read Full Comment