{"id":21285012,"url":"https://github.com/palw3ey/rfc2307bis","last_synced_at":"2026-03-19T19:41:57.575Z","repository":{"id":60198246,"uuid":"541637945","full_name":"palw3ey/rfc2307bis","owner":"palw3ey","description":"replace the old rfc2307.ldif by the new rfc2307bis.ldif","archived":false,"fork":false,"pushed_at":"2025-01-02T23:03:45.000Z","size":12,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-22T05:14:33.202Z","etag":null,"topics":["memberof","openldap-server","overlay","rfc2307","rfc2307bis","slapd"],"latest_commit_sha":null,"homepage":"","language":null,"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/palw3ey.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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":"2022-09-26T14:49:43.000Z","updated_at":"2025-01-02T23:03:49.000Z","dependencies_parsed_at":"2023-12-23T15:32:44.497Z","dependency_job_id":"25a8e6e4-3a89-4471-ae04-a9dc77b717bb","html_url":"https://github.com/palw3ey/rfc2307bis","commit_stats":null,"previous_names":["palw3ey/rfc2307bis"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palw3ey%2Frfc2307bis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palw3ey%2Frfc2307bis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palw3ey%2Frfc2307bis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/palw3ey%2Frfc2307bis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/palw3ey","download_url":"https://codeload.github.com/palw3ey/rfc2307bis/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243746201,"owners_count":20341203,"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":["memberof","openldap-server","overlay","rfc2307","rfc2307bis","slapd"],"created_at":"2024-11-21T11:17:51.645Z","updated_at":"2026-01-03T00:11:36.284Z","avatar_url":"https://github.com/palw3ey.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# rfc2307bis\n\nnis rfc2307 is obsolete, this README will help you replace it with the new rfc2307bis.ldif\n\n# 1 - Install openldap and utils\n```bash\nsudo apt install slapd ldap-utils\n```\n\n# 2 - Download rfc2307bis.ldif\n```bash\nsudo wget https://github.com/palw3ey/rfc2307bis/releases/download/latest/rfc2307bis.ldif -O /etc/ldap/schema/rfc2307bis.ldif\n```\n\n# 3 - Edit slapd.init.ldif to replace rfc2307\n```bash\nsudo vi /usr/share/slapd/slapd.init.ldif\n```\n\nfind this line :\n```bash\ninclude: file:///etc/ldap/schema/nis.ldif\n```\nappend a # at the beginning of the line, to make it as a comment.  \nAnd just below this commented line, add :\n```bash\ninclude: file:///etc/ldap/schema/rfc2307bis.ldif\n```\n\n# 4 - Start the configuration of OpenLDAP\n```bash\nsudo dpkg-reconfigure slapd\n```\n\n# 5 - Verify that rfc2307bis is enabled\n```bash\nsudo ldapsearch -LLL -Y external -H ldapi:/// -b cn=schema,cn=config -s one dn\n```\nIf everything is OK, then you should see this line in the output :\n```bash\ndn: cn={2}rfc2307bis,cn=schema,cn=config\n```\n\n# 6 - memberof overlay (optional)\nEnable memberof overlay : To automatically add (or remove) a \"memberof\" attribute to the user entry, when the user is added (or removed) to a groupofnames.\n\nCheck if memberof is already enabled :\n```bash\nsudo slapcat -n 0 | grep \"olcModuleLoad.*memberof\"\n```\n\nOtherwise load memberof module :\n```bash\nsudo ldapmodify -Y EXTERNAL -H ldapi:/// \u003c\u003c!\ndn: cn=module{0},cn=config\nchangetype: modify\nadd: olcModuleLoad\nolcModuleLoad: memberof.la\n!\n```\nCheck if memberof overlay is already enabled :\n```bash\nsudo slapcat -n 0 | grep \"olcOverlay.*memberof\"\n```\nOtherwise apply overlay :\n```bash\nsudo ldapmodify -a -Y EXTERNAL -H ldapi:/// \u003c\u003c!\ndn: olcOverlay=memberof,olcDatabase={1}mdb,cn=config\nobjectClass: olcOverlayConfig\nobjectClass: olcMemberOf\nolcOverlay: memberof\nolcMemberOfRefint: TRUE\n!\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalw3ey%2Frfc2307bis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpalw3ey%2Frfc2307bis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpalw3ey%2Frfc2307bis/lists"}