{"id":19133422,"url":"https://github.com/glauth/glauth-pam","last_synced_at":"2026-06-08T15:30:14.829Z","repository":{"id":118613417,"uuid":"553389996","full_name":"glauth/glauth-pam","owner":"glauth","description":null,"archived":false,"fork":false,"pushed_at":"2024-11-16T20:48:35.000Z","size":27,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-01-03T12:12:34.070Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Go","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/glauth.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,"publiccode":null,"codemeta":null}},"created_at":"2022-10-18T06:24:13.000Z","updated_at":"2024-11-16T20:48:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"b39acf16-bfe7-45bb-b94e-94adf4b1e4fe","html_url":"https://github.com/glauth/glauth-pam","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glauth%2Fglauth-pam","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glauth%2Fglauth-pam/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glauth%2Fglauth-pam/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/glauth%2Fglauth-pam/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/glauth","download_url":"https://codeload.github.com/glauth/glauth-pam/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240214566,"owners_count":19766263,"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-09T06:22:26.158Z","updated_at":"2026-06-08T15:30:14.753Z","avatar_url":"https://github.com/glauth.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# GLAuth Plugin\n\nThis is a GLAuth plugin; that is, a backend that are not compiled in GLAuth by default.\n\nTo quote 'Butonic' (Jörn Friedrich Dreyer):\n\n\u003e Just keep the 'lightweight' in mind.\n\nTo build either back-end, type\n```\nmake plugin_name\n```\nwhere 'name' is the plugin's name; so, for instance: `make plugin_sqlite`\n\nTo build back-ends for specific architectures, specify `PLUGIN_OS` and `PLUGIN_ARCH` --\n For instance, to build the sqlite plugin for the new Mac M1s:\n ```\nmake plugin_sqlite PLUGIN_OS=darwin PLUGIN_ARCH=arm64\n ```\n\n## PAM Plugin\n\nTo authenticate against local users, edit the configuration file (see pkg/plugins/sample-pam.cfg) so that:\n\n```\n...\n[backend]\n  datastore = \"plugin\"\n  plugin = \"bin/pam.so\"\n...\n```\n\nWhen building this plugin, one must first ensure that the proper development headers are installed. For instance, on Ubuntu:\n```\nsudo apt-get install libpam0g-dev\n```\n\nYou will likely also wish to tweak the `groupWithSearchCapability` setting, to assign an appropriate secondary group.\n\nThen, to perform a search:\n```\nldapsearch -LLL -H ldap://localhost:3893 -D cn=\u003cunix user name\u003e,ou=\u003ca group the user belongs to\u003e,dc=glauth,dc=com -w \u003cunix user password\u003e -x -bdc=glauth,dc=com  cn=\u003cunix user name\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglauth%2Fglauth-pam","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fglauth%2Fglauth-pam","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fglauth%2Fglauth-pam/lists"}