go-ldap-sample

command module
v0.0.0-...-c76ddc8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 11, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

README

go-ldap-sample

go-ldap sample code

How to run

Prepare environment variables to connect your LDAP server.

$ export LDAP_URL="localhost:636"
$ export LDAP_USER="cn=Manager,dc=example,dc=com"
$ export LDAP_PASSWORD="ldappassword"
$ export DN_SUFFIX="dc=example,dc=com"

Run search query.

$ go run main.go

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL