Skip to content

yyorkchan/go-ldap-authentication

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

How to connect to the hosted LDAP server

Search "LDAP server (testing)" in the 1Password vault.

How to setup the LDAP server locally

Install mkcert

brew install mkcert

Run make tls to generate a TLS certificate and the key.

make tls

Run make copy-ca-cert to copy the mkcert root CA certificate in this project.

make copy-ca-cert

Run the LDAP server and the LDAP admin server.

docker compose up -d

For first time setup

  1. Visit http://localhost:58080
  2. Sign in with
  • DN: cn=admin,dc=example,dc=org
  • Password: admin
  1. Create a POSIX group
  2. Create as many users as you want.

How to run the example program

Run make start.

make start

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published