i think logging is done
This commit is contained in:
@@ -10,17 +10,6 @@ type BitMask interface {
|
||||
// BitMasks
|
||||
type MaskBit uint8
|
||||
|
||||
// LDAP Connection flags
|
||||
const (
|
||||
LdapBindUndefined MaskBit = 1 << iota
|
||||
LdapBindNone // GSSAPI via SASL or (TODO) Anonymous bind
|
||||
LdapBindNet
|
||||
LdapBindTls
|
||||
LdapBindStartTls
|
||||
LdapBindSasl
|
||||
LdapBindNoPassword
|
||||
)
|
||||
|
||||
func (f MaskBit) HasFlag(flag MaskBit) (r bool) {
|
||||
if f&flag != 0 {
|
||||
r = true
|
||||
|
||||
Reference in New Issue
Block a user