django-python3-ldap | Django LDAP user authentication backend for Python | Identity Management library

 by   etianen Python Version: 0.15.7 License: BSD-3-Clause

kandi X-RAY | django-python3-ldap Summary

kandi X-RAY | django-python3-ldap Summary

django-python3-ldap is a Python library typically used in Security, Identity Management applications. django-python3-ldap has no bugs, it has no vulnerabilities, it has build file available, it has a Permissive License and it has low support. You can install using 'pip install django-python3-ldap' or download it from GitHub, PyPI.

Django LDAP user authentication backend for Python 3.
Support
    Quality
      Security
        License
          Reuse

            kandi-support Support

              django-python3-ldap has a low active ecosystem.
              It has 379 star(s) with 118 fork(s). There are 24 watchers for this library.
              There were 1 major release(s) in the last 6 months.
              There are 12 open issues and 178 have been closed. On average issues are closed in 234 days. There are 3 open pull requests and 0 closed requests.
              It has a neutral sentiment in the developer community.
              The latest version of django-python3-ldap is 0.15.7

            kandi-Quality Quality

              django-python3-ldap has 0 bugs and 0 code smells.

            kandi-Security Security

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

            kandi-License License

              django-python3-ldap is licensed under the BSD-3-Clause License. This license is Permissive.
              Permissive licenses have the least restrictions, and you can use them in most projects.

            kandi-Reuse Reuse

              django-python3-ldap releases are available to install and integrate.
              Deployable package is available in PyPI.
              Build file is available. You can build the component from source.
              django-python3-ldap saves you 246 person hours of effort in developing the same functionality from scratch.
              It has 687 lines of code, 52 functions and 14 files.
              It has medium code complexity. Code complexity directly impacts maintainability of the code.

            Top functions reviewed by kandi - BETA

            kandi has reviewed django-python3-ldap and discovered the below as its top functions. This is intended to give you an instant insight into django-python3-ldap implemented functionality, and help decide if they suit your requirements.
            • Iterate over local users
            • Get or create the user data
            • Return an iterator over LDAP users
            • Remove a local user
            • Checks if the user has a user
            • Generator for group lookup arguments
            • Returns the LDAP user object
            • Iterates over synced users
            • Convert model fields to LDAP fields
            • Format a search filter
            • Import function
            • Formats a username and search base address
            • Convert LDAP name to lowercase
            • Formats the search filters
            Get all kandi verified functions for this library.

            django-python3-ldap Key Features

            No Key Features are available at this moment for django-python3-ldap.

            django-python3-ldap Examples and Code Snippets

            No Code Snippets are available at this moment for django-python3-ldap.

            Community Discussions

            QUESTION

            LDAP bind failed: LDAPOperationsErrorResult - 1 - operationsError - None - 000004DC: LdapErr: DSID-0C090A5C,
            Asked 2021-Dec-09 at 20:54

            I am using "django-python3-ldap". I have set up all and while syncing user by command "./manage.py ldap_sync_users"

            This shows the following binding error

            LDAP connect succeeded LDAP bind failed: LDAPOperationsErrorResult - 1 - operationsError - None - 000004DC: LdapErr: DSID-0C090A5C, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v4563 - searchResDone - None Traceback (most recent call last): File "/usr/local/lib/python3.5/dist-packages/django_python3_ldap/ldap.py", line 182, in connection yield Connection(c) File "/usr/local/lib/python3.5/dist-packages/django_python3_ldap/management/commands/ldap_sync_users.py", line 24, in handle for user in connection.iter_users(): File "/usr/local/lib/python3.5/dist-packages/django_python3_ldap/ldap.py", line 93, in self._get_or_create_user(entry) File "/usr/local/lib/python3.5/dist-packages/ldap3/extend/standard/PagedSearch.py", line 68, in paged_search_generator None if cookie is True else cookie) File "/usr/local/lib/python3.5/dist-packages/ldap3/core/connection.py", line 853, in search response = self.post_send_search(self.send('searchRequest', request, controls)) File "/usr/local/lib/python3.5/dist-packages/ldap3/strategy/sync.py", line 178, in post_send_search responses, result = self.get_response(message_id) File "/usr/local/lib/python3.5/dist-packages/ldap3/strategy/base.py", line 403, in get_response raise LDAPOperationResult(result=result['result'], description=result['description'], dn=result['dn'], message=result['message'], response_type=result['type']) ldap3.core.exceptions.LDAPOperationsErrorResult: LDAPOperationsErrorResult - 1 - operationsError - None - 000004DC: LdapErr: DSID-0C090A5C, comment: In order to perform this operation a successful bind must be completed on the connection., data 0, v4563 - searchResDone - None

            here are my settings file

            ` # The URL of the LDAP server. LDAP_AUTH_URL = "ldaps://example.com:636"

            ...

            ANSWER

            Answered 2021-Dec-09 at 20:54

            I don't know Django, but I see a couple things:

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

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

            Vulnerabilities

            No vulnerabilities reported

            Install django-python3-ldap

            You can install using 'pip install django-python3-ldap' or download it from GitHub, PyPI.
            You can use django-python3-ldap like any standard Python library. You will need to make sure that you have a development environment consisting of a Python distribution including header files, a compiler, pip, and git installed. Make sure that your pip, setuptools, and wheel are up to date. When using pip it is generally recommended to install packages in a virtual environment to avoid changes to the system.

            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
            Install
          • PyPI

            pip install django-python3-ldap

          • CLONE
          • HTTPS

            https://github.com/etianen/django-python3-ldap.git

          • CLI

            gh repo clone etianen/django-python3-ldap

          • sshUrl

            git@github.com:etianen/django-python3-ldap.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 Identity Management Libraries

            vault

            by hashicorp

            k9s

            by derailed

            keepassxc

            by keepassxreboot

            keycloak

            by keycloak

            uuid

            by uuidjs

            Try Top Libraries by etianen

            django-reversion

            by etianenPython

            html5media

            by etianenJavaScript

            django-watson

            by etianenPython

            django-herokuapp

            by etianenPython

            django-s3-storage

            by etianenPython