Skip to content

euforia/ldapclients-go

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ldapclients-go

Wrapper library to handle basic ldap based auth.

Currently basic ldap and AD are implemented.

Installation

go get github.com/euforia/ldapclients-go

Usage

import "github.com/euforia/ldapclients-go"

client, err := NewActiveDirectoryClient(uri, bind_dn, bind_pass, search_base)

// OR

client, err := NewActiveDirectoryClient(uri, bind_dn, bind_pass)

// Optionally enable caching using the default TTL
client.EnableCaching(0)

// Auth a user with a password
client.Authenticate(username, password)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages