MCPcopy Index your code

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

Functions454 in github.com/go-ldap/ldap

↓ 2 callersMethodSendResponse
SendResponse writes the given response packet to the response buffer for this connection, signalling any goroutine waiting to read a response.
v3/conn_test.go:313
↓ 2 callersMethodSetCookie
SetCookie stores the given cookie in the paging control
v3/control.go:289
↓ 2 callersMethodSimpleBind
SimpleBind performs the simple bind operation defined in the given request
v3/bind.go:64
↓ 2 callersMethodUnauthenticatedBind
(username string)
v3/client.go:20
↓ 2 callersFunctionaddDefaultLDAPResponseDescriptions
(packet *ber.Packet)
v3/ldap.go:276
↓ 2 callersFunctioncompileFilter
(filter string, pos int)
v3/filter.go:218
↓ 2 callersFunctioncompileFilterSet
(filter string, pos int, parent *ber.Packet)
v3/filter.go:202
↓ 2 callersFunctionencodeString
Escape a string according to RFC 4514
v3/dn.go:172
↓ 2 callersFunctiongenerateGetLDAPErrorCorpus
()
v3/error_test.go:128
↓ 2 callersFunctiongetGssWrapTokenId
()
v3/gssapi/client.go:227
↓ 2 callersFunctiongetReferral
(err error, packet *ber.Packet)
v3/request.go:74
↓ 2 callersMethodhasAllAttributes
(attrs []*AttributeTypeAndValue)
v3/dn.go:354
↓ 2 callersMethodhasAllAttributesFold
(attrs []*AttributeTypeAndValue)
v3/dn.go:417
↓ 2 callersFunctionmustEscape
(c byte)
v3/ldap.go:317
↓ 2 callersMethodreader
()
v3/conn.go:589
↓ 2 callersMethodsendMessageWithFlags
(packet *ber.Packet, flags sendMessageFlags)
v3/conn.go:418
↓ 2 callersMethodsetValue
(s string)
v3/dn.go:32
↓ 2 callersFunctiontestReceiveResponse
(t *testing.T, ptc *packetTranslatorConn, msgCtx *messageContext)
v3/conn_test.go:204
↓ 2 callersFunctiontestSendRequest
(t *testing.T, ptc *packetTranslatorConn, conn *Conn)
v3/conn_test.go:175
↓ 2 callersFunctiontestSendUnhandledResponsesAndFinish
(t *testing.T, ptc *packetTranslatorConn, conn *Conn, msgCtx *messageContext, numResponses int)
v3/conn_test.go:223
↓ 2 callersFunctionunpackAttributes
unpackAttributes will extract all given LDAP attributes and it's values from the ber.Packet
v3/search.go:652
↓ 1 callersMethodAdd
Add appends the given attribute to the list of changes to be made
v3/modify.go:63
↓ 1 callersMethodAncestorOf
AncestorOf returns true if the other DN consists of at least one RDN followed by all the RDNs of the current DN. "ou=widgets,o=acme.com" is an ancesto
v3/dn.go:328
↓ 1 callersMethodChallengeResponse
(challenge []byte, username string, hash string)
v3/bind.go:449
↓ 1 callersMethodClose
Close deletes any established secure context and closes the client.
v3/gssapi/sspi.go:76
↓ 1 callersMethodDeleteSecContext
DeleteSecContext destroys any established secure context.
v3/bind.go:670
↓ 1 callersMethodDeleteSecContext
DeleteSecContext destroys any established secure context.
v3/gssapi/sspi.go:89
↓ 1 callersMethodDigestMD5Bind
DigestMD5Bind performs the digest-md5 bind operation defined in the given request
v3/bind.go:172
↓ 1 callersMethodDirSyncAsync
(ctx context.Context, searchRequest *SearchRequest, bufferSize int, flags, maxAttrCount int64, cookie []byte)
v3/client.go:40
↓ 1 callersMethodEscape
Escape encodes special characters in the PostalAddress lines as per RFC 4517 and appends a `$` at the end of each line.
v3/postaladdress.go:48
↓ 1 callersFunctionEscapeDN
EscapeDN escapes distinguished names as described in RFC4514. Characters in the set `"+,;<>\` are escaped by prepending a backslash, which is also don
v3/ldap.go:354
↓ 1 callersMethodExtended
Extended performs an extended request. The resulting ExtendedResponse may return a value in the form of a *ber.Packet
v3/extended.go:60
↓ 1 callersMethodExternalBind
()
v3/client.go:22
↓ 1 callersMethodGSSAPIBind
GSSAPIBind performs the GSSAPI SASL bind using the provided GSSAPI client.
v3/bind.go:685
↓ 1 callersMethodGSSAPIBindRequest
GSSAPIBindRequest performs the GSSAPI SASL bind using the provided GSSAPI client.
v3/bind.go:693
↓ 1 callersMethodGSSAPIBindRequestWithAPOptions
GSSAPIBindRequest performs the GSSAPI SASL bind using the provided GSSAPI client.
v3/bind.go:698
↓ 1 callersMethodGetControlType
()
v3/control.go:1075
↓ 1 callersMethodGetEqualFoldAttributeValue
GetEqualFoldAttributeValue returns the first value for the named attribute, or "". Attribute comparison is done with strings.EqualFold.
v3/search.go:134
↓ 1 callersMethodGetEqualFoldAttributeValues
GetEqualFoldAttributeValues returns the values for the named attribute, or an empty list. Attribute matching is done with strings.EqualFold.
v3/search.go:94
↓ 1 callersMethodGetEqualFoldRawAttributeValues
GetEqualFoldRawAttributeValues returns the byte values for the named attribute, or an empty list
v3/search.go:114
↓ 1 callersMethodGetRawAttributeValues
GetRawAttributeValues returns the byte values for the named attribute, or an empty list
v3/search.go:104
↓ 1 callersMethodInitSecContextWithOptions
InitSecContextWithOptions is the same as InitSecContext but allows for additional options to be passed to the context establishment. See RFC 4752 sect
v3/bind.go:656
↓ 1 callersMethodInitSecContextWithOptions
InitSecContextWithOptions initiates the establishment of a security context for GSS-API between the client and server. See RFC 4752 section 3.1.
v3/gssapi/sspi.go:103
↓ 1 callersMethodInitSecContextWithOptions
InitSecContextWithOptions initiates the establishment of a security context for GSS-API between the client and server. See RFC 4752 section 3.1.
v3/gssapi/client.go:113
↓ 1 callersMethodIsClosing
()
v3/client.go:15
↓ 1 callersMethodLines
Lines returns a copy of the address lines as a slice of strings.
v3/postaladdress.go:36
↓ 1 callersMethodModify
(*ModifyRequest)
v3/client.go:28
↓ 1 callersMethodNegotiate
(domain string, workstation string)
v3/bind.go:448
↓ 1 callersMethodNegotiateSaslAuth
NegotiateSaslAuth performs the last step of the Sasl handshake. It takes a token, which, when unwrapped, describes the servers supported security laye
v3/bind.go:668
↓ 1 callersFunctionNewControlServerSideSortingResult
(pkt *ber.Packet)
v3/control.go:1043
↓ 1 callersFunctionNewControlServerSideSortingWithSortKeys
(sortKeys []*SortKey)
v3/control.go:954
↓ 1 callersFunctionNewControlSyncDone
(pkt *ber.Packet)
v3/control.go:1251
↓ 1 callersFunctionNewControlSyncInfo
(pkt *ber.Packet)
v3/control.go:1374
↓ 1 callersFunctionNewControlSyncRequest
( mode ControlSyncRequestMode, cookie []byte, reloadHint bool, )
v3/control.go:1113
↓ 1 callersFunctionNewControlSyncState
(pkt *ber.Packet)
v3/control.go:1189
↓ 1 callersFunctionNewEntryAttribute
NewEntryAttribute returns a new EntryAttribute with the desired key-value pair
v3/search.go:340
↓ 1 callersFunctionNewModifyRequest
NewModifyRequest creates a modify request for the given DN
v3/modify.go:104
↓ 1 callersFunctionNewResponseControlDirSync
NewResponseControlDirSync returns a dir sync control
v3/control.go:824
↓ 1 callersFunctionNewSSPIClientWithChannelBinding
NewSSPIClientWithChannelBinding creates an RFC 5929 compliant client.
v3/gssapi/sspi.go:56
↓ 1 callersFunctionNewSSPIClientWithCredentials
NewSSPIClientWithCredentials returns a client with the provided credentials.
v3/gssapi/sspi.go:36
↓ 1 callersMethodReceiveRequest
ReceiveRequest attempts to read a request packet from this connection. It will block until it is able to read a full request packet or until this conn
v3/conn_test.go:349
↓ 1 callersMethodReplace
Replace appends the given attribute to the list of changes to be made
v3/modify.go:73
↓ 1 callersMethodStartTLS
StartTLS sends the command to start a TLS session and then creates a new TLS Client
v3/conn.go:347
↓ 1 callersMethodString
String returns the postal address as a single string, with lines joined by newline characters.
v3/postaladdress.go:43
↓ 1 callersMethodSyncrepl
(ctx context.Context, searchRequest *SearchRequest, bufferSize int, mode ControlSyncRequestMode, cookie []byte
v3/client.go:41
↓ 1 callersMethodTLSConnectionState
()
v3/client.go:17
↓ 1 callersFunctionUnmarshalWrapToken
(wt *gssapi.WrapToken, b []byte, expectFromAcceptor bool)
v3/gssapi/client.go:231
↓ 1 callersMethodValid
Valid test the code contained in the control against the ControlServerSideSortingCodes slice and return an error if the code is unknown.
v3/control.go:1034
↓ 1 callersMethodWrite
Write is called by the processMessages() loop to send request packets.
v3/conn_test.go:331
↓ 1 callersFunctioncalculateCertificateHash
calculateCertificateHash implements RFC 5929 certificate hash calculation. https://www.rfc-editor.org/rfc/rfc5929.html#section-4.1
v3/gssapi/sspi.go:253
↓ 1 callersFunctioncomputeResponse
(params map[string]string, uri, username, password string)
v3/bind.go:338
↓ 1 callersFunctioncreateChannelBindingsStructure
createChannelBindingsStructure creates a Windows SEC_CHANNEL_BINDINGS structure. This is the format that Windows SSPI expects for channel binding toke
v3/gssapi/sspi.go:235
↓ 1 callersFunctioncreateTestCertificate
createTestCertificate creates a test certificate with the specified signature algorithm.
v3/gssapi/sspi_test.go:18
↓ 1 callersFunctiondecodeEncodedString
(str string)
v3/dn.go:230
↓ 1 callersMethoddial
(u *url.URL)
v3/conn.go:161
↓ 1 callersMethodencode
()
v3/add.go:18
↓ 1 callersMethodencode
()
v3/modify.go:45
↓ 1 callersFunctionfoldRune
foldRune is returns the smallest rune for all runes in the same fold set.
v3/dn.go:460
↓ 1 callersFunctionfoldString
foldString returns a folded string such that foldString(x) == foldString(y) is identical to bytes.EqualFold(x, y). based on https://go.dev/src/encodin
v3/dn.go:442
↓ 1 callersFunctionhandshakePayload
(secLayer byte, maxSize uint32, authzid []byte)
v3/gssapi/sspi.go:197
↓ 1 callersFunctionnewPacketTranslatorConn
()
v3/conn_test.go:282
↓ 1 callersFunctionntHash
(pass string)
v3/bind.go:624
↓ 1 callersFunctionparseParams
(str string)
v3/bind.go:290
↓ 1 callersMethodprocessMessages
()
v3/conn.go:491
↓ 1 callersFunctionrandomBytes
(len int)
v3/bind.go:380
↓ 1 callersFunctionreadTag
readTag will read the reflect.StructField value for the key defined in decoderTagName. If omitempty is specified, the field may not be filled.
v3/search.go:182
↓ 1 callersMethodsaslBindTokenExchange
(reqControls []Control, reqToken []byte)
v3/bind.go:735
↓ 1 callersFunctionsearchGoroutine
(t *testing.T, l *Conn, results chan *SearchResult, i int)
v3/ldap_test.go:196
↓ 1 callersMethodsetClosing
setClosing sets the closing value to true
v3/conn.go:284
↓ 1 callersMethodsetType
(str string)
v3/dn.go:22
↓ 1 callersFunctionstripLeadingAndTrailingSpaces
(inVal string)
v3/dn.go:94
MethodAdd
Add performs the given AddRequest
v3/add.go:70
MethodAncestorOfFold
AncestorOfFold returns true if the other DN consists of at least one RDN followed by all the RDNs of the current DN. Case of the attribute type and va
v3/dn.go:394
MethodAttribute
Attribute adds an attribute with the given type and values
v3/add.go:57
FunctionBenchmarkFilterCompile
(b *testing.B)
v3/filter_test.go:261
FunctionBenchmarkFilterDecompile
(b *testing.B)
v3/filter_test.go:277
FunctionBenchmarkParseSubject
(b *testing.B)
v3/dn_test.go:337
MethodBind
Bind performs a bind with the given username and password. It does not allow unauthenticated bind (i.e. empty password). Use the UnauthenticatedBind
v3/bind.go:102
MethodClose
Close closes this connection causing Read() and Write() calls to fail.
v3/conn_test.go:375
MethodClose
()
v3/error_test.go:315
← previousnext →101–200 of 454, ranked by callers