LdapBundle | This bundle is autonomous ; He does n't require apache | Authentication library

 by   BorisMorel 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 applications. LdapBundle has no bugs, it has no vulnerabilities and it has low support. You can download it from GitHub.

LdapBundle provides LDAP authentication without using Apache's mod_ldap. The bundle instead relies on PHP's LDAP extension along with a form to authenticate users. LdapBundle can also be used for authorization by retrieving the user's roles defined in LDAP.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              LdapBundle has a low active ecosystem.
              It has 105 star(s) with 97 fork(s). There are 19 watchers for this library.
              OutlinedDot
              It had no major release in the last 6 months.
              There are 36 open issues and 53 have been closed. On average issues are closed in 84 days. There are 20 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, examples and code snippets are available.
              LdapBundle saves you 491 person hours of effort in developing the same functionality from scratch.
              It has 1156 lines of code, 142 functions and 18 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            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.
            • Add LDAP roles to LDAP .
            • Perform LDAP search
            • Authenticates LDAP user .
            • Attempt to authenticate the request .
            • Search for an anonymous user
            • Add client configuration .
            • Create auth provider .
            • Returns true if this user is equal to another .
            • Handles the configuration injection .
            • Login action
            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

            Download with composer
            Enable the Bundle
            Configure LdapBundle in security.yml
            Import LdapBundle routing
            Implement Logout
            Use chain provider
            Subscribe to PRE_BIND event
            Subscribe to POST_BIND event

            Support

            Nick: aways IRC: irc.freenode.net - #symfony-fr.
            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/BorisMorel/LdapBundle.git

          • CLI

            gh repo clone BorisMorel/LdapBundle

          • sshUrl

            git@github.com:BorisMorel/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

            Explore Related Topics

            Consider Popular Authentication Libraries

            supabase

            by supabase

            iosched

            by google

            monica

            by monicahq

            authelia

            by authelia

            hydra

            by ory

            Try Top Libraries by BorisMorel

            IcalBundle

            by BorisMorelPHP

            BlogBundle

            by BorisMorelPHP

            SimpleCacheBundle

            by BorisMorelPHP

            DrupalWebdav

            by BorisMorelPHP

            FilesBundle

            by BorisMorelPHP