LdapBundle | based UserProvider for Symfony2 's Security component | Authentication library

 by   opensky PHP Version: Current License: No License

kandi X-RAY | LdapBundle Summary

kandi X-RAY | LdapBundle Summary

LdapBundle is a PHP library typically used in Security, Authentication, Symfony, Docker applications. LdapBundle has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

This bundle implements an LDAP-based UserProvider for Symfony2's Security component. When used in conjunction with Symfony2's HTTP basic authentication listener, this bundle can verify usernames against an LDAP server and populate roles based on groups to which the LDAP user belongs.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              LdapBundle has a low active ecosystem.
              It has 54 star(s) with 11 fork(s). There are 16 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 6 open issues and 3 have been closed. On average issues are closed in 2 days. There are 5 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of LdapBundle is current.

            kandi-Quality Quality

              LdapBundle has 0 bugs and 0 code smells.

            kandi-Security Security

              LdapBundle has no vulnerabilities reported, and its dependent libraries have no vulnerabilities reported.
              LdapBundle code analysis shows 0 unresolved vulnerabilities.
              There are 0 security hotspots that need review.

            kandi-License License

              LdapBundle does not have a standard license declared.
              Check the repository for any license declaration and review the terms closely.
              OutlinedDot
              Without a license, all rights are reserved, and you cannot use the library in your applications.

            kandi-Reuse Reuse

              LdapBundle releases are not available. You will need to build from source code and install.
              Installation instructions are not available. Examples and code snippets are available.

            Top functions reviewed by kandi - BETA

            kandi has reviewed LdapBundle and discovered the below as its top functions. This is intended to give you an instant insight into LdapBundle implemented functionality, and help decide if they suit your requirements.
            • Sets the roles for the given username .
            • Create a pre - authentication provider .
            • Add security section .
            • Returns the configuration tree builder .
            • Create a role from an attribute
            • Handles the LDAP configuration .
            • Resolve entries to attributes .
            • Compares two accounts .
            • Load LDAP user by username .
            • Get pre - authenticated user data .
            Get all kandi verified functions for this library.

            LdapBundle Key Features

            No Key Features are available at this moment for LdapBundle.

            LdapBundle Examples and Code Snippets

            No Code Snippets are available at this moment for LdapBundle.

            Community Discussions

            QUESTION

            Login with fr3d ldapbundle & fos userbundle, user found but on DB insert username is null
            Asked 2018-Feb-08 at 11:23

            (updated at the end)

            I am having trouble registering any user from a specific LDAP as even after finding the user from LDAP, when it tries to register, the username is null, so it triggers a violation constraint and rollsback. Am using Sonata User Bundle, FR3D LDAP Bundle and FOS User Bundle.

            dev.log

            ...

            ANSWER

            Answered 2018-Feb-08 at 11:02

            My problem was I was only getting like email, sn, cn information after binding with MS Active Directory, not even samaccountname was stored in my User object.

            The solution is to use the bundle's custom hydrator:

            https://github.com/Maks3w/FR3DLdapBundle/blob/master/Resources/doc/cookbook/custom_hydrator.md. Through this you will be able to get access to every attributes in the LDAP record you searched for. If you follow the documentation it is all you need to fix the said issue.

            However, in my version I import existing users via a CSV importer that includes their Usernames from LDAP but I cannot generate their DN string automatically, thus cannot login with only their Usernames, as their DN string contains specific "OU" information.

            I solved this issue by loading the user from LDAP on every login to get up-to-date information like DN string and others that change frequently. I then either update an existing user or create a new one depending on repository search result, which also allows imported users to login and no duplicate entries of users. Thanks to ejkun for the elegant solution: https://github.com/Maks3w/FR3DLdapBundle/issues/53#issuecomment-330905167. There's also a bonus on how to detect disabled accounts in AD.

            Here is my version of UserHydrator:

            Source https://stackoverflow.com/questions/48532329

            QUESTION

            FR3DLdapBundle - Authentication request failed
            Asked 2017-May-02 at 14:51

            I'm using FR3DLdapBundle with FOSUserBundle.

            Symfony Version 3.2.6 FR3DLdapBundle Version 3

            config.yml

            ...

            ANSWER

            Answered 2017-May-02 at 14:51

            you just need to change your baseDn like so:

            Source https://stackoverflow.com/questions/43513525

            Community Discussions, Code Snippets contain sources that include Stack Exchange Network

            Vulnerabilities

            No vulnerabilities reported

            Install LdapBundle

            You can download it from GitHub.
            PHP requires the Visual C runtime (CRT). The Microsoft Visual C++ Redistributable for Visual Studio 2019 is suitable for all these PHP versions, see visualstudio.microsoft.com. You MUST download the x86 CRT for PHP x86 builds and the x64 CRT for PHP x64 builds. The CRT installer supports the /quiet and /norestart command-line switches, so you can also script it.

            Support

            For any new features, suggestions and bugs create an issue on GitHub. If you have any questions check and ask questions on community page Stack Overflow .
            Find more information at:

            Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items

            Find more libraries
            CLONE
          • HTTPS

            https://github.com/opensky/LdapBundle.git

          • CLI

            gh repo clone opensky/LdapBundle

          • sshUrl

            git@github.com:opensky/LdapBundle.git

          • Stay Updated

            Subscribe to our newsletter for trending solutions and developer bootcamps

            Agree to Sign up and Terms & Conditions

            Share this Page

            share link

            Consider Popular Authentication Libraries

            supabase

            by supabase

            iosched

            by google

            monica

            by monicahq

            authelia

            by authelia

            hydra

            by ory

            Try Top Libraries by opensky

            SitemapBundle

            by openskyPHP

            GigyaBundle

            by openskyPHP

            HtmLawedBundle

            by openskyPHP

            gitsync

            by openskyPython