command
module
Version:
v0.0.0-...-c76ddc8
Opens a new window with list of versions in this module.
Published: Feb 11, 2024
License: Apache-2.0
Opens a new window with license information.
Imports: 7
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
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
¶
There is no documentation for this package.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.