(userDN string, password string)
| 228 | } |
| 229 | |
| 230 | func (ldap *LdapService) Bind(userDN string, password string) error { |
| 231 | ldap.mutex.Lock() |
| 232 | defer ldap.mutex.Unlock() |
| 233 | err := ldap.conn.Bind(userDN, password) |
| 234 | if err != nil { |
| 235 | return err |
| 236 | } |
| 237 | return nil |
| 238 | } |
| 239 | |
| 240 | func (ldap *LdapService) heartbeat() error { |
| 241 | tlog.App.Debug().Msg("Performing LDAP connection heartbeat") |
no outgoing calls
no test coverage detected