Documentation ¶ Index ¶ func Bind(ldapConfs models.LdapConf, dn string, password string) error func MakeFilter(username string, ldapFilter string, ldapUID string) string func SearchUser(ldapConfs models.LdapConf) ([]models.LdapUser, error) func ValidateLdapConf(ldapConfs models.LdapConf) (models.LdapConf, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Bind ¶ func Bind(ldapConfs models.LdapConf, dn string, password string) error Bind establish a connection to ldap based on ldapConfs and bind the user with given parameters. func MakeFilter ¶ func MakeFilter(username string, ldapFilter string, ldapUID string) string MakeFilter ... func SearchUser ¶ func SearchUser(ldapConfs models.LdapConf) ([]models.LdapUser, error) SearchUser ... func ValidateLdapConf ¶ func ValidateLdapConf(ldapConfs models.LdapConf) (models.LdapConf, error) ValidateLdapConf ... Types ¶ This section is empty. Source Files ¶ View all Source files ldap.go Click to show internal directories. Click to hide internal directories.