{"id":31758596,"url":"https://github.com/koldakov/active_directory","last_synced_at":"2026-05-18T10:36:25.320Z","repository":{"id":164945274,"uuid":"334991617","full_name":"koldakov/active_directory","owner":"koldakov","description":"Working with active directory in Django using ldap","archived":false,"fork":false,"pushed_at":"2021-09-23T12:30:41.000Z","size":33,"stargazers_count":2,"open_issues_count":3,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-09T20:47:56.447Z","etag":null,"topics":["active-directory","authentication","django","ldap","python"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/koldakov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-02-01T15:19:22.000Z","updated_at":"2024-07-31T02:06:59.000Z","dependencies_parsed_at":null,"dependency_job_id":"9f1f4542-7d13-4c04-86f1-acf40d848985","html_url":"https://github.com/koldakov/active_directory","commit_stats":null,"previous_names":["koldakov/active_directory"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/koldakov/active_directory","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koldakov%2Factive_directory","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koldakov%2Factive_directory/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koldakov%2Factive_directory/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koldakov%2Factive_directory/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/koldakov","download_url":"https://codeload.github.com/koldakov/active_directory/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/koldakov%2Factive_directory/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33175005,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-18T09:27:30.708Z","status":"ssl_error","status_checked_at":"2026-05-18T09:27:28.300Z","response_time":71,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["active-directory","authentication","django","ldap","python"],"created_at":"2025-10-09T20:47:24.162Z","updated_at":"2026-05-18T10:36:25.303Z","avatar_url":"https://github.com/koldakov.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Module for working with active directory. Includes Authentication Using LDAP\n\nThis modules created to working with active directory. Includes module to Authentication Using LDAP.\n\nThis version is written and tested on Python 3.8.5; and Django 3.1.5; and ldap3 2.9.\n\n## Installation\n\nInstall the ldap3 package with pip:\n```console\n$ pip install ldap3=2.9\n```\n\nTo use Django Authentication backend add ```'ldap_backend.backend.LDAPBackend'``` to ```AUTHENTICATION_BACKENDS``` in settings.py.\nYou should get something like this:\n```python\nAUTHENTICATION_BACKENDS = [\n    'django_auth_ldap.backend.LDAPBackend',\n    'ldap_backend.backend.LDAPBackend'\n]\n```\n\nTo use templates add os.path.join(BASE_DIR, 'active_directory.templates') to 'DIRS' in 'TEMPLATES'\n\n## Configuration Example\n\nYou can get settings through settings.py:\n```python\nSETTINGS_ACTIVE_DIRECTORY = [\n    {\n        username: 'username',\n        password: 'password',\n        domain: 'domain',\n        ssl: False,\n        port: 389\n    }\n]\n```\n\nOr through \"Settings\" (preferred). Do migration, add record to table.\nIf you want to use only 'Authentication Using LDAP' you don't need to fill 'username' and 'password' - this fields will be get from auth form.\n\n## Conclusion\n\nThis modules should be used not only to Authentication Using LDAP it is something more. It could be used to synchronize AD values, writing your own management commands and so on.\n\nIf you have a bug or feature request contact me.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoldakov%2Factive_directory","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkoldakov%2Factive_directory","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkoldakov%2Factive_directory/lists"}