MCPcopy Index your code

hub / github.com/go-ldap/ldap / functions

Functions454 in github.com/go-ldap/ldap

↓ 106 callersMethodEncode
Encode returns the ber packet representation
v3/control.go:211
↓ 54 callersMethodPrintf
Printf writes debug output.
v3/debug.go:17
↓ 50 callersFunctionNewError
NewError creates an LDAP error with the given code and underlying error
v3/error.go:242
↓ 49 callersMethodClose
()
v3/client.go:13
↓ 38 callersFunctionDialURL
DialURL connects to the given ldap URL. The following schemas are supported: ldap://, ldaps://, ldapi://, and cldap:// (RFC1798, deprecated but used b
v3/conn.go:229
↓ 35 callersMethodError
()
v3/error.go:192
↓ 32 callersMethodString
String returns a human-readable description
v3/control.go:213
↓ 28 callersMethodEqual
Equal returns true if the DNs are equal as defined by rfc4517 4.2.15 (distinguishedNameMatch). Returns true if they have the same number of relative d
v3/dn.go:312
↓ 25 callersFunctionGetLDAPError
GetLDAPError creates an Error out of a BER packet representing a LDAPResult The return is an error object. It can be casted to a Error structure. This
v3/error.go:201
↓ 22 callersFunctionmustNewPostalAddress
(t *testing.T, lines []string)
v3/postaladdress_test.go:215
↓ 21 callersMethodfinishMessage
(msgCtx *messageContext)
v3/conn.go:460
↓ 15 callersFunctionNewSearchRequest
NewSearchRequest creates a new search request
v3/search.go:473
↓ 15 callersFunctionParseDN
ParseDN returns a distinguishedName or an error. The function respects https://tools.ietf.org/html/rfc4514
v3/dn.go:246
↓ 15 callersMethoddoRequest
(req request)
v3/request.go:26
↓ 14 callersMethodreadPacket
(msgCtx *messageContext)
v3/request.go:49
↓ 14 callersFunctionrunControlTest
(t *testing.T, originalControl Control)
v3/control_test.go:51
↓ 13 callersMethodWrite
(b []byte)
v3/error_test.go:311
↓ 13 callersFunctionrunAddControlDescriptions
(t *testing.T, originalControl Control, childDescriptions ...string)
v3/control_test.go:128
↓ 11 callersMethodPrintPacket
PrintPacket dumps a packet.
v3/debug.go:24
↓ 11 callersMethodReadPacket
ReadPacket returns the packet or an error
v3/conn.go:47
↓ 11 callersFunctionencodeControls
(controls []Control)
v3/control.go:790
↓ 10 callersMethodBind
(username, password string)
v3/client.go:19
↓ 10 callersMethodClose
Close closes the connection.
v3/conn.go:289
↓ 10 callersFunctionDecodeControl
DecodeControl returns a control read from the given packet, or nil if no recognized control can be made
v3/control.go:553
↓ 10 callersFunctionaddRequestDescriptions
(packet *ber.Packet)
v3/ldap.go:266
↓ 9 callersMethodAdd
(*AddRequest)
v3/client.go:26
↓ 9 callersMethodEqualFold
EqualFold returns true if the DNs are equal as defined by rfc4517 4.2.15 (distinguishedNameMatch). Returns true if they have the same number of relati
v3/dn.go:380
↓ 9 callersFunctionEscapeFilter
EscapeFilter escapes from the provided LDAP filter string the special characters in the set `()*\` and those out of the range 0 < c < 0x80, as defined
v3/ldap.go:324
↓ 9 callersFunctionFindControl
FindControl returns the first control of the given type in the list, or nil
v3/control.go:543
↓ 9 callersFunctionIsErrorWithCode
IsErrorWithCode returns true if the given error is an LDAP error with the given result code
v3/error.go:267
↓ 9 callersMethodPrint
Print outputs a human-readable description
v3/search.go:161
↓ 9 callersMethodSearch
(*SearchRequest)
v3/client.go:36
↓ 9 callersFunctiongetTestConnection
(withBind bool)
v3/ldap_test.go:30
↓ 8 callersMethodIsClosing
IsClosing returns whether or not we're currently closing.
v3/conn.go:279
↓ 8 callersFunctionNewConn
NewConn returns a new Conn using conn for network I/O.
v3/conn.go:254
↓ 8 callersFunctionNewControlPaging
NewControlPaging returns a paging control
v3/control.go:748
↓ 8 callersFunctionNewControlString
NewControlString returns a generic control
v3/control.go:739
↓ 8 callersMethodSimpleBind
(*SimpleBindRequest)
v3/client.go:21
↓ 8 callersFunctionaddLDAPDescriptions
Adds descriptions to an LDAP Response packet for debugging
v3/ldap.go:97
↓ 8 callersMethodnextMessageID
Returns the next available messageID
v3/conn.go:331
↓ 7 callersMethodGetAttributeValue
GetAttributeValue returns the first value for the named attribute, or ""
v3/search.go:124
↓ 7 callersMethodStart
Start initialises goroutines to read replies and process messages. Warning: Calling this function in addition to Dial or DialURL may cause race condit
v3/conn.go:273
↓ 7 callersMethodgetTimeout
()
v3/conn.go:326
↓ 7 callersFunctionrunWithTimeout
(t *testing.T, timeout time.Duration, f func())
v3/conn_test.go:244
↓ 7 callersMethodsendMessage
(packet *ber.Packet)
v3/conn.go:414
↓ 6 callersMethodErr
()
v3/response.go:16
↓ 6 callersFunctionNewRequestControlDirSync
NewRequestControlDirSync returns a dir sync control
v3/control.go:812
↓ 6 callersMethodNext
()
v3/response.go:17
↓ 6 callersMethodStartTLS
(*tls.Config)
v3/client.go:12
↓ 6 callersMethodUnmarshal
Unmarshal parses the Entry in the value pointed to by i Currently, this methods only supports struct fields of type string, *string, []string, int, i
v3/search.go:248
↓ 6 callersFunctionaddControlDescriptions
(packet *ber.Packet)
v3/ldap.go:160
↓ 5 callersFunctionCompileFilter
CompileFilter converts a string representation of a filter into a BER-encoded packet
v3/filter.go:77
↓ 5 callersMethodEntry
()
v3/response.go:13
↓ 5 callersFunctionNewControlManageDsaIT
NewControlManageDsaIT returns a ControlManageDsaIT control
v3/control.go:415
↓ 5 callersMethodSearch
Search performs the given search request
v3/search.go:567
↓ 5 callersMethodsendResponse
sendResponse should only be called within the processMessages() loop which is also responsible for closing the responses channel.
v3/conn.go:64
↓ 4 callersMethodDel
(*DelRequest)
v3/client.go:27
↓ 4 callersMethodGetControlType
()
v3/control.go:919
↓ 4 callersFunctionNewPostalAddress
NewPostalAddress creates a new PostalAddress by copying non-empty lines from the provided slice of strings.
v3/postaladdress.go:19
↓ 4 callersFunctionParsePostalAddress
ParsePostalAddress parses an RFC 4517 escaped postal address string into a PostalAddress object or returns an error.
v3/postaladdress.go:70
↓ 4 callersMethodappendChange
(operation uint, attrType string, attrVals []string)
v3/modify.go:82
↓ 4 callersFunctiondecodeEscapedSymbols
Convert from "ABC\xx\xx\xx" form to literal bytes for transport
v3/filter.go:440
↓ 4 callersFunctiondecodeString
Remove leading and trailing spaces from the attribute type and value and unescape any escaped characters in these fields decodeString is based on htt
v3/dn.go:109
↓ 4 callersFunctionmd5Hash
(b []byte)
v3/bind.go:374
↓ 4 callersMethodsendProcessMessage
(message *messagePacket)
v3/conn.go:481
↓ 3 callersMethodExtended
(*ExtendedRequest)
v3/client.go:31
↓ 3 callersMethodGetControlType
GetControlType returns the OID
v3/control.go:209
↓ 3 callersMethodModifyDN
(*ModifyDNRequest)
v3/client.go:29
↓ 3 callersMethodNTLMChallengeBind
NTLMChallengeBind performs the NTLMSSP bind operation defined in the given request
v3/bind.go:527
↓ 3 callersFunctionNewControlMicrosoftNotification
NewControlMicrosoftNotification returns a ControlMicrosoftNotification control
v3/control.go:444
↓ 3 callersFunctionNewControlMicrosoftServerLinkTTL
NewControlMicrosoftServerLinkTTL returns a ControlMicrosoftServerLinkTTL control
v3/control.go:538
↓ 3 callersFunctionNewControlMicrosoftShowDeleted
NewControlMicrosoftShowDeleted returns a ControlMicrosoftShowDeleted control
v3/control.go:509
↓ 3 callersFunctionNewControlSubtreeDelete
NewControlSubtreeDelete returns a ControlSubtreeDelete control.
v3/control.go:771
↓ 3 callersFunctionNewDelRequest
NewDelRequest creates a delete request for the given DN and controls
v3/del.go:31
↓ 3 callersFunctionNewEntry
NewEntry returns an Entry object with the specified distinguished name and attribute key-value pairs. The map of attributes is accessed in alphabetica
v3/search.go:57
↓ 3 callersFunctionNewExtendedRequest
NewExtendedRequest returns a new ExtendedRequest. The value can be nil depending on the type of request
v3/extended.go:24
↓ 3 callersFunctionNewModifyDNRequest
NewModifyDNRequest creates a new request which can be passed to ModifyDN(). To move an object in the tree, set the "newSup" to the new parent entry D
v3/moddn.go:32
↓ 3 callersFunctionNewPasswordModifyRequest
NewPasswordModifyRequest creates a new PasswordModifyRequest According to the RFC 3602 (https://tools.ietf.org/html/rfc3062): userIdentity is a strin
v3/passwdmodify.go:73
↓ 3 callersMethodPasswordModify
(*PasswordModifyRequest)
v3/client.go:34
↓ 3 callersMethodSearchAsync
(ctx context.Context, searchRequest *SearchRequest, bufferSize int)
v3/client.go:37
↓ 3 callersMethodSearchWithPaging
(searchRequest *SearchRequest, pagingSize uint32)
v3/client.go:38
↓ 3 callersMethodSetTimeout
SetTimeout sets the time after a request is sent that a MessageTimeout triggers
v3/conn.go:322
↓ 3 callersMethodUnbind
()
v3/client.go:24
↓ 3 callersMethodUnmarshalFunc
UnmarshalFunc allows you to define a custom unmarshaler to parse an Entry values. A custom unmarshaler can be found in the Unmarshal function or in th
v3/search.go:310
↓ 3 callersMethodWhoAmI
WhoAmI returns the authzId the server thinks we are, you may pass controls like a Proxied Authorization control
v3/whoami.go:14
↓ 3 callersMethodappendTo
(*ber.Packet)
v3/request.go:17
↓ 3 callersFunctionnewSearchResponse
(conn *Conn, bufferSize int)
v3/response.go:195
↓ 3 callersMethodstart
(ctx context.Context, searchRequest *SearchRequest)
v3/response.go:69
↓ 3 callersFunctiontestMultiGoroutineSearch
(t *testing.T, TLS bool, startTLS bool)
v3/ldap_test.go:212
↓ 2 callersMethodCompare
(dn, attribute, value string)
v3/client.go:33
↓ 2 callersMethodControls
()
v3/response.go:15
↓ 2 callersFunctionDecompileFilter
DecompileFilter converts a packet representation of a filter into a string representation
v3/filter.go:95
↓ 2 callersFunctionDialWithTLSConfig
DialWithTLSConfig updates tls.Config in DialContext.
v3/conn.go:138
↓ 2 callersMethodDirSync
(searchRequest *SearchRequest, flags, maxAttrCount int64, cookie []byte)
v3/client.go:39
↓ 2 callersMethodGetAttributeValues
GetAttributeValues returns the values for the named attribute, or an empty list
v3/search.go:83
↓ 2 callersFunctionIsErrorAnyOf
IsErrorAnyOf returns true if the given error is an LDAP error with any one of the given result codes
v3/error.go:247
↓ 2 callersFunctionNewControlBeheraPasswordPolicy
NewControlBeheraPasswordPolicy returns a ControlBeheraPasswordPolicy
v3/control.go:753
↓ 2 callersFunctionNewControlServerSideSorting
(value *ber.Packet)
v3/control.go:923
↓ 2 callersFunctionNewSimpleBindRequest
NewSimpleBindRequest returns a bind request
v3/bind.go:40
↓ 2 callersMethodPrettyPrint
PrettyPrint outputs a human-readable description indenting
v3/search.go:169
next →1–100 of 454, ranked by callers