Versions in this module Expand all Collapse all v2 v2.0.1 Jun 3, 2024 Changes in this version type LdapConnOptions + OpenLDAP bool v2.0.0 Jun 3, 2024 Changes in this version + const DepthOfLdapSearch + var ADGroupAttrs = []string + var ADGroupUserAttrs = []string + var ADUserAttrs = []string + func TestBaseDn(userName, passWord, host string, port interface{}, baseDn string, ...) error + func TryAccess(userName, passWord, host string, port interface{}, useTls bool) error + type ADStruct struct + AD []GroupInfo + type GroupInfo struct + DName string + Has []GroupInfo + Name string + Ou string + type LdapConn struct + Connection *ldap.Conn + func NewLdapConn(userName, passWord, host string, port interface{}, useTls bool, ...) (*LdapConn, error) + func (conn *LdapConn) Close() + func (conn *LdapConn) GetGroupUsers(group string) (res []UserShortInfo, err error) + func (conn *LdapConn) GetRecursiveSearchResult(prevLevel *[]GroupInfo, level int) *[]GroupInfo + func (conn *LdapConn) GetRootGroups(baseDn string) (res []GroupInfo, err error) + func (conn *LdapConn) GetStruct(baseDn string) (res ADStruct, err error) + func (conn *LdapConn) GetSubGroups(group string, level int) (res []GroupInfo, err error) + func (conn *LdapConn) GetUserInfo(userName, baseDn string) (res UserFullInfo, err error) + type LdapConnOptions struct + type UserFullInfo struct + Address string + CN string + City string + Company string + Country string + Department string + Index string + Mail string + Manager string + Mobile string + Phone string + Photo string + Room string + Title string + type UserShortInfo struct + Department string + Login string + Mail string + Name string + Title string Other modules containing this package github.com/NGRsoftlab/ngr-ldapper