Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/go-ldap/ldap
/ functions
Functions
454 in github.com/go-ldap/ldap
⨍
Functions
454
◇
Types & classes
87
↓ 2 callers
Method
SendResponse
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 callers
Method
SetCookie
SetCookie stores the given cookie in the paging control
v3/control.go:289
↓ 2 callers
Method
SimpleBind
SimpleBind performs the simple bind operation defined in the given request
v3/bind.go:64
↓ 2 callers
Method
UnauthenticatedBind
(username string)
v3/client.go:20
↓ 2 callers
Function
addDefaultLDAPResponseDescriptions
(packet *ber.Packet)
v3/ldap.go:276
↓ 2 callers
Function
compileFilter
(filter string, pos int)
v3/filter.go:218
↓ 2 callers
Function
compileFilterSet
(filter string, pos int, parent *ber.Packet)
v3/filter.go:202
↓ 2 callers
Function
encodeString
Escape a string according to RFC 4514
v3/dn.go:172
↓ 2 callers
Function
generateGetLDAPErrorCorpus
()
v3/error_test.go:128
↓ 2 callers
Function
getGssWrapTokenId
()
v3/gssapi/client.go:227
↓ 2 callers
Function
getReferral
(err error, packet *ber.Packet)
v3/request.go:74
↓ 2 callers
Method
hasAllAttributes
(attrs []*AttributeTypeAndValue)
v3/dn.go:354
↓ 2 callers
Method
hasAllAttributesFold
(attrs []*AttributeTypeAndValue)
v3/dn.go:417
↓ 2 callers
Function
mustEscape
(c byte)
v3/ldap.go:317
↓ 2 callers
Method
reader
()
v3/conn.go:589
↓ 2 callers
Method
sendMessageWithFlags
(packet *ber.Packet, flags sendMessageFlags)
v3/conn.go:418
↓ 2 callers
Method
setValue
(s string)
v3/dn.go:32
↓ 2 callers
Function
testReceiveResponse
(t *testing.T, ptc *packetTranslatorConn, msgCtx *messageContext)
v3/conn_test.go:204
↓ 2 callers
Function
testSendRequest
(t *testing.T, ptc *packetTranslatorConn, conn *Conn)
v3/conn_test.go:175
↓ 2 callers
Function
testSendUnhandledResponsesAndFinish
(t *testing.T, ptc *packetTranslatorConn, conn *Conn, msgCtx *messageContext, numResponses int)
v3/conn_test.go:223
↓ 2 callers
Function
unpackAttributes
unpackAttributes will extract all given LDAP attributes and it's values from the ber.Packet
v3/search.go:652
↓ 1 callers
Method
Add
Add appends the given attribute to the list of changes to be made
v3/modify.go:63
↓ 1 callers
Method
AncestorOf
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 callers
Method
ChallengeResponse
(challenge []byte, username string, hash string)
v3/bind.go:449
↓ 1 callers
Method
Close
Close deletes any established secure context and closes the client.
v3/gssapi/sspi.go:76
↓ 1 callers
Method
DeleteSecContext
DeleteSecContext destroys any established secure context.
v3/bind.go:670
↓ 1 callers
Method
DeleteSecContext
DeleteSecContext destroys any established secure context.
v3/gssapi/sspi.go:89
↓ 1 callers
Method
DigestMD5Bind
DigestMD5Bind performs the digest-md5 bind operation defined in the given request
v3/bind.go:172
↓ 1 callers
Method
DirSyncAsync
(ctx context.Context, searchRequest *SearchRequest, bufferSize int, flags, maxAttrCount int64, cookie []byte)
v3/client.go:40
↓ 1 callers
Method
Escape
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 callers
Function
EscapeDN
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 callers
Method
Extended
Extended performs an extended request. The resulting ExtendedResponse may return a value in the form of a *ber.Packet
v3/extended.go:60
↓ 1 callers
Method
ExternalBind
()
v3/client.go:22
↓ 1 callers
Method
GSSAPIBind
GSSAPIBind performs the GSSAPI SASL bind using the provided GSSAPI client.
v3/bind.go:685
↓ 1 callers
Method
GSSAPIBindRequest
GSSAPIBindRequest performs the GSSAPI SASL bind using the provided GSSAPI client.
v3/bind.go:693
↓ 1 callers
Method
GSSAPIBindRequestWithAPOptions
GSSAPIBindRequest performs the GSSAPI SASL bind using the provided GSSAPI client.
v3/bind.go:698
↓ 1 callers
Method
GetControlType
()
v3/control.go:1075
↓ 1 callers
Method
GetEqualFoldAttributeValue
GetEqualFoldAttributeValue returns the first value for the named attribute, or "". Attribute comparison is done with strings.EqualFold.
v3/search.go:134
↓ 1 callers
Method
GetEqualFoldAttributeValues
GetEqualFoldAttributeValues returns the values for the named attribute, or an empty list. Attribute matching is done with strings.EqualFold.
v3/search.go:94
↓ 1 callers
Method
GetEqualFoldRawAttributeValues
GetEqualFoldRawAttributeValues returns the byte values for the named attribute, or an empty list
v3/search.go:114
↓ 1 callers
Method
GetRawAttributeValues
GetRawAttributeValues returns the byte values for the named attribute, or an empty list
v3/search.go:104
↓ 1 callers
Method
InitSecContextWithOptions
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 callers
Method
InitSecContextWithOptions
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 callers
Method
InitSecContextWithOptions
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 callers
Method
IsClosing
()
v3/client.go:15
↓ 1 callers
Method
Lines
Lines returns a copy of the address lines as a slice of strings.
v3/postaladdress.go:36
↓ 1 callers
Method
Modify
(*ModifyRequest)
v3/client.go:28
↓ 1 callers
Method
Negotiate
(domain string, workstation string)
v3/bind.go:448
↓ 1 callers
Method
NegotiateSaslAuth
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 callers
Function
NewControlServerSideSortingResult
(pkt *ber.Packet)
v3/control.go:1043
↓ 1 callers
Function
NewControlServerSideSortingWithSortKeys
(sortKeys []*SortKey)
v3/control.go:954
↓ 1 callers
Function
NewControlSyncDone
(pkt *ber.Packet)
v3/control.go:1251
↓ 1 callers
Function
NewControlSyncInfo
(pkt *ber.Packet)
v3/control.go:1374
↓ 1 callers
Function
NewControlSyncRequest
( mode ControlSyncRequestMode, cookie []byte, reloadHint bool, )
v3/control.go:1113
↓ 1 callers
Function
NewControlSyncState
(pkt *ber.Packet)
v3/control.go:1189
↓ 1 callers
Function
NewEntryAttribute
NewEntryAttribute returns a new EntryAttribute with the desired key-value pair
v3/search.go:340
↓ 1 callers
Function
NewModifyRequest
NewModifyRequest creates a modify request for the given DN
v3/modify.go:104
↓ 1 callers
Function
NewResponseControlDirSync
NewResponseControlDirSync returns a dir sync control
v3/control.go:824
↓ 1 callers
Function
NewSSPIClientWithChannelBinding
NewSSPIClientWithChannelBinding creates an RFC 5929 compliant client.
v3/gssapi/sspi.go:56
↓ 1 callers
Function
NewSSPIClientWithCredentials
NewSSPIClientWithCredentials returns a client with the provided credentials.
v3/gssapi/sspi.go:36
↓ 1 callers
Method
ReceiveRequest
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 callers
Method
Replace
Replace appends the given attribute to the list of changes to be made
v3/modify.go:73
↓ 1 callers
Method
StartTLS
StartTLS sends the command to start a TLS session and then creates a new TLS Client
v3/conn.go:347
↓ 1 callers
Method
String
String returns the postal address as a single string, with lines joined by newline characters.
v3/postaladdress.go:43
↓ 1 callers
Method
Syncrepl
(ctx context.Context, searchRequest *SearchRequest, bufferSize int, mode ControlSyncRequestMode, cookie []byte
v3/client.go:41
↓ 1 callers
Method
TLSConnectionState
()
v3/client.go:17
↓ 1 callers
Function
UnmarshalWrapToken
(wt *gssapi.WrapToken, b []byte, expectFromAcceptor bool)
v3/gssapi/client.go:231
↓ 1 callers
Method
Valid
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 callers
Method
Write
Write is called by the processMessages() loop to send request packets.
v3/conn_test.go:331
↓ 1 callers
Function
calculateCertificateHash
calculateCertificateHash implements RFC 5929 certificate hash calculation. https://www.rfc-editor.org/rfc/rfc5929.html#section-4.1
v3/gssapi/sspi.go:253
↓ 1 callers
Function
computeResponse
(params map[string]string, uri, username, password string)
v3/bind.go:338
↓ 1 callers
Function
createChannelBindingsStructure
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 callers
Function
createTestCertificate
createTestCertificate creates a test certificate with the specified signature algorithm.
v3/gssapi/sspi_test.go:18
↓ 1 callers
Function
decodeEncodedString
(str string)
v3/dn.go:230
↓ 1 callers
Method
dial
(u *url.URL)
v3/conn.go:161
↓ 1 callers
Method
encode
()
v3/add.go:18
↓ 1 callers
Method
encode
()
v3/modify.go:45
↓ 1 callers
Function
foldRune
foldRune is returns the smallest rune for all runes in the same fold set.
v3/dn.go:460
↓ 1 callers
Function
foldString
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 callers
Function
handshakePayload
(secLayer byte, maxSize uint32, authzid []byte)
v3/gssapi/sspi.go:197
↓ 1 callers
Function
newPacketTranslatorConn
()
v3/conn_test.go:282
↓ 1 callers
Function
ntHash
(pass string)
v3/bind.go:624
↓ 1 callers
Function
parseParams
(str string)
v3/bind.go:290
↓ 1 callers
Method
processMessages
()
v3/conn.go:491
↓ 1 callers
Function
randomBytes
(len int)
v3/bind.go:380
↓ 1 callers
Function
readTag
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 callers
Method
saslBindTokenExchange
(reqControls []Control, reqToken []byte)
v3/bind.go:735
↓ 1 callers
Function
searchGoroutine
(t *testing.T, l *Conn, results chan *SearchResult, i int)
v3/ldap_test.go:196
↓ 1 callers
Method
setClosing
setClosing sets the closing value to true
v3/conn.go:284
↓ 1 callers
Method
setType
(str string)
v3/dn.go:22
↓ 1 callers
Function
stripLeadingAndTrailingSpaces
(inVal string)
v3/dn.go:94
Method
Add
Add performs the given AddRequest
v3/add.go:70
Method
AncestorOfFold
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
Method
Attribute
Attribute adds an attribute with the given type and values
v3/add.go:57
Function
BenchmarkFilterCompile
(b *testing.B)
v3/filter_test.go:261
Function
BenchmarkFilterDecompile
(b *testing.B)
v3/filter_test.go:277
Function
BenchmarkParseSubject
(b *testing.B)
v3/dn_test.go:337
Method
Bind
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
Method
Close
Close closes this connection causing Read() and Write() calls to fail.
v3/conn_test.go:375
Method
Close
()
v3/error_test.go:315
← previous
next →
101–200 of 454, ranked by callers