{"id":17617487,"url":"https://github.com/dlampsi/adc","last_synced_at":"2025-08-18T10:06:00.221Z","repository":{"id":45144640,"uuid":"343077034","full_name":"dlampsi/adc","owner":"dlampsi","description":"Active Directory Golang client library","archived":false,"fork":false,"pushed_at":"2025-02-28T20:03:13.000Z","size":111,"stargazers_count":27,"open_issues_count":0,"forks_count":7,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-29T05:23:23.541Z","etag":null,"topics":["active-directory","activedirectory","adc","go","golang","golang-module","ldap"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dlampsi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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,"publiccode":null,"codemeta":null},"funding":{"github":"dlampsi","buy_me_a_coffee":"dlampsi"}},"created_at":"2021-02-28T10:30:26.000Z","updated_at":"2025-03-06T11:56:56.000Z","dependencies_parsed_at":"2024-09-14T22:50:40.607Z","dependency_job_id":null,"html_url":"https://github.com/dlampsi/adc","commit_stats":null,"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlampsi%2Fadc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlampsi%2Fadc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlampsi%2Fadc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dlampsi%2Fadc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dlampsi","download_url":"https://codeload.github.com/dlampsi/adc/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249250935,"owners_count":21237964,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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","activedirectory","adc","go","golang","golang-module","ldap"],"created_at":"2024-10-22T19:14:09.780Z","updated_at":"2025-04-16T14:38:08.649Z","avatar_url":"https://github.com/dlampsi.png","language":"Go","funding_links":["https://github.com/sponsors/dlampsi","https://buymeacoffee.com/dlampsi"],"categories":[],"sub_categories":[],"readme":"# adc\n\n[![Tests](https://github.com/dlampsi/adc/actions/workflows/tests.yml/badge.svg)](https://github.com/dlampsi/adc/actions/workflows/tests.yml)\n[![Linter](https://github.com/dlampsi/adc/actions/workflows/linter.yml/badge.svg)](https://github.com/dlampsi/adc/actions/workflows/linter.yml)\n[![codecov](https://codecov.io/gh/dlampsi/adc/graph/badge.svg?token=6TORMA0YJN)](https://codecov.io/gh/dlampsi/adc)\n[![Go Reference](https://pkg.go.dev/badge/github.com/dlampsi/adc.svg)](https://pkg.go.dev/github.com/dlampsi/adc)\n\nActive Directory client library that allows you to perform basic operations with users and groups: creation, deletion, search, changes to members and composition in groups.\n\nThe library is a wrapper around  [go-ldap/ldap](https://github.com/go-ldap/ldap) module that provides a more convient client for Active Directory.\n\n## Usage\n\nImport module in your go app:\n\n```go\nimport \"github.com/dlampsi/adc\"\n```\n\n### Getting started\n\n```go\ncfg := \u0026adc.Config{\n    URL: \"ldaps://my.ad.site:636\",\n    Bind: \u0026adc.BindAccount{\n        DN:       \"CN=admin,DC=company,DC=com\",\n        Password: \"***\",\n    },\n    SearchBase: \"OU=default,DC=company,DC=com\",\n}\n\ncl := adc.New(cfg)\n\nif err := cl.Connect(); err != nil {\n    // Handle error\n}\n\n// Do stuff ...\n```\n\nSee [examples](examples) directory for extended usage examples.\n\n## Contributing\n\n1. Fork this repositpry\n2. Create new PR from `main` branch\n2. Create PR from your fork\n3. Make sure tests and coverage tests pass\n4. Request review\n\n## License\n\n[MIT License](LICENSE).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlampsi%2Fadc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdlampsi%2Fadc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdlampsi%2Fadc/lists"}