├── .gitignore ├── .travis.yml ├── CONTRIBUTORS.rst ├── LICENSE ├── Makefile ├── README.rst ├── custom.in ├── docs ├── Makefile ├── make.bat ├── requirements.txt └── source │ ├── CONTRIBUTORS.rst │ ├── HISTORY.rst │ ├── README.rst │ ├── _static │ ├── .gitkeep │ ├── conv.sh.txt │ ├── debconf.txt │ ├── openssh-lpk.ldif.txt │ ├── ou.ldif.txt │ ├── rootdnpw.ldif.txt │ └── users.ldif.txt │ ├── conf.py │ ├── index.rst │ ├── openldap.rst │ └── openssh.rst ├── env.go ├── env_test.go ├── ldap.go ├── ldap_test.go ├── logger.go ├── main.go ├── main_test.go ├── testdata ├── debconf.txt ├── nslcd-bind-no-pwd.conf ├── nslcd-bind.conf ├── nslcd-invalid-port.conf ├── nslcd-invalid-url.conf ├── nslcd-no-filter.conf ├── nslcd-no-username.conf ├── nslcd-tls-allow.conf ├── nslcd-tls-never.conf ├── nslcd-tls-port.conf ├── nslcd-tls-skip.conf ├── nslcd-tls.conf ├── nslcd.conf ├── olcAccess.ldif ├── olcTLSCertificate.ldif ├── openssh-lpk.ldif ├── ou.ldif ├── rootdnpw.ldif ├── ssl-cert-snakeoil.key ├── ssl-cert-snakeoil.pem └── users.ldif └── utils └── pre-commit.txt /.gitignore: -------------------------------------------------------------------------------- 1 | main.test 2 | docs/build/ 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/.travis.yml -------------------------------------------------------------------------------- /CONTRIBUTORS.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/CONTRIBUTORS.rst -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/Makefile -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/README.rst -------------------------------------------------------------------------------- /custom.in: -------------------------------------------------------------------------------- 1 | PREBUILD_COPY_OPTS := $(CURDIR)/testdata -------------------------------------------------------------------------------- /docs/Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/Makefile -------------------------------------------------------------------------------- /docs/make.bat: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/make.bat -------------------------------------------------------------------------------- /docs/requirements.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/requirements.txt -------------------------------------------------------------------------------- /docs/source/CONTRIBUTORS.rst: -------------------------------------------------------------------------------- 1 | ../../CONTRIBUTORS.rst -------------------------------------------------------------------------------- /docs/source/HISTORY.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/source/HISTORY.rst -------------------------------------------------------------------------------- /docs/source/README.rst: -------------------------------------------------------------------------------- 1 | ../../README.rst -------------------------------------------------------------------------------- /docs/source/_static/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /docs/source/_static/conv.sh.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/source/_static/conv.sh.txt -------------------------------------------------------------------------------- /docs/source/_static/debconf.txt: -------------------------------------------------------------------------------- 1 | ../../../testdata/debconf.txt -------------------------------------------------------------------------------- /docs/source/_static/openssh-lpk.ldif.txt: -------------------------------------------------------------------------------- 1 | ../../../testdata/openssh-lpk.ldif -------------------------------------------------------------------------------- /docs/source/_static/ou.ldif.txt: -------------------------------------------------------------------------------- 1 | ../../../testdata/ou.ldif -------------------------------------------------------------------------------- /docs/source/_static/rootdnpw.ldif.txt: -------------------------------------------------------------------------------- 1 | ../../../testdata/rootdnpw.ldif -------------------------------------------------------------------------------- /docs/source/_static/users.ldif.txt: -------------------------------------------------------------------------------- 1 | ../../../testdata/users.ldif -------------------------------------------------------------------------------- /docs/source/conf.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/source/conf.py -------------------------------------------------------------------------------- /docs/source/index.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/source/index.rst -------------------------------------------------------------------------------- /docs/source/openldap.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/source/openldap.rst -------------------------------------------------------------------------------- /docs/source/openssh.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/docs/source/openssh.rst -------------------------------------------------------------------------------- /env.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/env.go -------------------------------------------------------------------------------- /env_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/env_test.go -------------------------------------------------------------------------------- /ldap.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/ldap.go -------------------------------------------------------------------------------- /ldap_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/ldap_test.go -------------------------------------------------------------------------------- /logger.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/logger.go -------------------------------------------------------------------------------- /main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/main.go -------------------------------------------------------------------------------- /main_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/main_test.go -------------------------------------------------------------------------------- /testdata/debconf.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/debconf.txt -------------------------------------------------------------------------------- /testdata/nslcd-bind-no-pwd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-bind-no-pwd.conf -------------------------------------------------------------------------------- /testdata/nslcd-bind.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-bind.conf -------------------------------------------------------------------------------- /testdata/nslcd-invalid-port.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-invalid-port.conf -------------------------------------------------------------------------------- /testdata/nslcd-invalid-url.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-invalid-url.conf -------------------------------------------------------------------------------- /testdata/nslcd-no-filter.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-no-filter.conf -------------------------------------------------------------------------------- /testdata/nslcd-no-username.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-no-username.conf -------------------------------------------------------------------------------- /testdata/nslcd-tls-allow.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-tls-allow.conf -------------------------------------------------------------------------------- /testdata/nslcd-tls-never.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-tls-never.conf -------------------------------------------------------------------------------- /testdata/nslcd-tls-port.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-tls-port.conf -------------------------------------------------------------------------------- /testdata/nslcd-tls-skip.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-tls-skip.conf -------------------------------------------------------------------------------- /testdata/nslcd-tls.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd-tls.conf -------------------------------------------------------------------------------- /testdata/nslcd.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/nslcd.conf -------------------------------------------------------------------------------- /testdata/olcAccess.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/olcAccess.ldif -------------------------------------------------------------------------------- /testdata/olcTLSCertificate.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/olcTLSCertificate.ldif -------------------------------------------------------------------------------- /testdata/openssh-lpk.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/openssh-lpk.ldif -------------------------------------------------------------------------------- /testdata/ou.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/ou.ldif -------------------------------------------------------------------------------- /testdata/rootdnpw.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/rootdnpw.ldif -------------------------------------------------------------------------------- /testdata/ssl-cert-snakeoil.key: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/ssl-cert-snakeoil.key -------------------------------------------------------------------------------- /testdata/ssl-cert-snakeoil.pem: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/ssl-cert-snakeoil.pem -------------------------------------------------------------------------------- /testdata/users.ldif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mkouhei/openssh-ldap-pubkey/HEAD/testdata/users.ldif -------------------------------------------------------------------------------- /utils/pre-commit.txt: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | make 4 | --------------------------------------------------------------------------------