{"id":20534678,"url":"https://github.com/qbit/openbsd-ldapd","last_synced_at":"2025-03-06T03:16:27.180Z","repository":{"id":136346295,"uuid":"135719895","full_name":"qbit/openbsd-ldapd","owner":"qbit","description":"Ansible playbooks to build an OpenBSD LDAP server","archived":false,"fork":false,"pushed_at":"2018-06-16T13:41:48.000Z","size":30,"stargazers_count":9,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-16T13:46:53.234Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"isc","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/qbit.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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}},"created_at":"2018-06-01T13:18:08.000Z","updated_at":"2023-02-07T18:33:07.000Z","dependencies_parsed_at":"2023-03-14T01:30:58.029Z","dependency_job_id":null,"html_url":"https://github.com/qbit/openbsd-ldapd","commit_stats":null,"previous_names":[],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-ldapd","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-ldapd/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-ldapd/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/qbit%2Fopenbsd-ldapd/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/qbit","download_url":"https://codeload.github.com/qbit/openbsd-ldapd/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":242138822,"owners_count":20078006,"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":[],"created_at":"2024-11-16T00:27:42.838Z","updated_at":"2025-03-06T03:16:27.157Z","avatar_url":"https://github.com/qbit.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"openbsd-ldapd\n=============\n\nThis role sets up an ldapd server geared towards serving logins to OpenBSD hosts.\n\nRequirements\n------------\n\n- OpenBSD\n\n\nRole Variables\n--------------\n\n| Variable | Default Value | Description |\n| -------- | ------------- | ----------- |\n| `ldap_domain` | \"bolddaemon\" | This is the name of your domain. If your FQDN was \"example.com\", this value would be \"example\". |\n| `ldap_tld` | \"com\" | The TLD of your domain. If your FQDN is \"example.com\", this would be \"com\". |\n| `ldap_admin` | \"admin\" | The `rootdn`. This will ultimately resolve to: `cn={{ ldap_admin }},dc={{ ldap_domain }},dc={{ ldap_tld }}`. |\n| `ldap_admin_pass` | \"welcome\" | Password for `rootdn`. This will be piped to `encrypt(1)` and stored in `/etc/ldapd.conf` as a hash.|\n| `ldap_uid_start` | 1000 | The starting point for UID. This value auto-increments for every user defined in `ldap_users`. |\n| `ldap_gid_start` | 1000 | The starting point for GID. This also auto-increments. |\n| `ldap_users` | array of objects that include: `uid`, `first`, `last`, `pw_hash` and optionally `pubkey` and `shell`. | The users defined here will be added to `/root/users.ldif`, which can then be used to bootstrap the ldap server. |\n\nDependencies\n------------\n\n- OpenBSD\n\nExample Playbook\n----------------\n\n    - hosts: openbsd_ldap_servers\n      roles:\n         - { role: openbsd-ldapd, tags: [\"ldapd\"] }\n\nLicense\n-------\n\n```\n/*\n * Copyright (c) 2018 Aaron Bieber \u003caaron@bolddaemon.com\u003e\n *\n * Permission to use, copy, modify, and distribute this software for any\n * purpose with or without fee is hereby granted, provided that the above\n * copyright notice and this permission notice appear in all copies.\n *\n * THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES\n * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF\n * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR\n * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES\n * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN\n * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF\n * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n */\n ```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fopenbsd-ldapd","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fqbit%2Fopenbsd-ldapd","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fqbit%2Fopenbsd-ldapd/lists"}