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
Method
Close
Close deletes any established secure context and closes the client.
v3/gssapi/client.go:91
Method
Compare
Compare checks to see if the attribute of the dn matches value. Returns true if it does otherwise false with any error that occurs if any.
v3/compare.go:33
Method
Controls
Controls returns controls from the given search request
v3/response.go:41
Function
DebugBinaryFile
DebugBinaryFile reads and prints packets from the given filename
v3/ldap.go:299
Method
Del
Del executes the given delete request
v3/del.go:39
Method
Delete
Delete appends the given attribute to the list of changes to be made
v3/modify.go:68
Method
DeleteSecContext
DeleteSecContext destroys any established secure context.
v3/gssapi/client.go:97
Function
Dial
Dial connects to the given address on the given network using net.Dial and then returns a new Conn for the connection. Deprecated: Use DialURL inste
v3/conn.go:201
Function
DialTLS
DialTLS connects to the given address on the given network using tls.Dial and then returns a new Conn for the connection. Deprecated: Use DialURL in
v3/conn.go:215
Function
DialWithDialer
DialWithDialer updates net.Dialer in DialContext.
v3/conn.go:131
Function
DialWithTLSDialer
DialWithTLSDialer is a wrapper for DialWithTLSConfig with the option to specify a net.Dialer to for example define a timeout or a custom resolver. De
v3/conn.go:148
Method
DirSync
DirSync does a Search with dirSync Control.
v3/search.go:675
Method
DirSyncAsync
DirSyncDirSyncAsync performs a search request and returns all search results asynchronously. This is efficient when the server returns lots of entries
v3/search.go:718
Method
Enable
Enable controls debugging mode.
v3/debug.go:12
Method
Encode
Encode returns the ber packet representation
v3/control.go:229
Method
Encode
Encode returns the ber packet representation
v3/control.go:260
Method
Encode
Encode returns the ber packet representation
v3/control.go:311
Method
Encode
Encode returns the ber packet representation
v3/control.go:343
Method
Encode
Encode returns the ber packet representation
v3/control.go:369
Method
Encode
Encode returns the ber packet representation
v3/control.go:395
Method
Encode
Encode returns the ber packet representation
v3/control.go:428
Method
Encode
()
v3/control.go:458
Method
Encode
Encode returns the ber packet representation
v3/control.go:493
Method
Encode
Encode returns the ber packet representation
v3/control.go:522
Method
Encode
Encode returns the ber packet representation
v3/control.go:776
Method
Encode
Encode returns the ber packet representation
v3/control.go:871
Method
Encode
()
v3/control.go:958
Method
Encode
()
v3/control.go:1079
Method
Encode
Encode encodes the control
v3/control.go:1130
Method
Encode
Encode encodes the control
v3/control.go:1227
Method
Encode
Encode encodes the control
v3/control.go:1278
Method
Encode
Encode encodes the control
v3/control.go:1457
Method
Entry
Entry returns an entry from the given search request
v3/response.go:31
Method
Equal
Equal returns true if the RelativeDNs are equal as defined by rfc4517 4.2.15 (distinguishedNameMatch). Relative distinguished names are the same if an
v3/dn.go:347
Method
Equal
Equal returns true if the AttributeTypeAndValue is equivalent to the specified AttributeTypeAndValue Case of the attribute type is not significant
v3/dn.go:372
Method
Equal
Equal compares the current PostalAddress with another PostalAddress and returns true if they are identical.
v3/postaladdress.go:113
Method
EqualFold
EqualFold returns true if the RelativeDNs are equal as defined by rfc4517 4.2.15 (distinguishedNameMatch). Case of the attribute type is not significa
v3/dn.go:410
Method
EqualFold
EqualFold returns true if the AttributeTypeAndValue is equivalent to the specified AttributeTypeAndValue Case of the attribute type and value is not s
v3/dn.go:435
Method
Err
Err returns an error when the given search request was failed
v3/response.go:46
Function
ExampleConn_Bind
This example demonstrates how to bind a connection to an ldap user allowing access to restricted attributes that user has access to
v3/examples_test.go:15
Function
ExampleConn_Compare
This example demonstrates how to compare an attribute with a value
v3/examples_test.go:138
Function
ExampleConn_DirSync
This example demonstrates how to use DirSync to manually execute a DirSync search request
v3/examples_test.go:417
Function
ExampleConn_DirSyncAsync
This example demonstrates how to use DirSync search asynchronously
v3/examples_test.go:470
Function
ExampleConn_ExternalBind
This example demonstrates how to use EXTERNAL SASL with TLS client certificates.
v3/examples_test.go:513
Function
ExampleConn_GSSAPIBind
This example demonstrates passwordless bind using the current process' user credentials on Windows (SASL GSSAPI mechanism bind with SSPI client).
v3/examples_windows_test.go:14
Function
ExampleConn_Modify
()
v3/examples_test.go:215
Function
ExampleConn_ModifyDN_moveOnly
This example shows how to move an entry to a new base without renaming the RDN
v3/examples_moddn_test.go:54
Function
ExampleConn_ModifyDN_renameAndMove
This example shows how to rename an entry and moving it to a new base
v3/examples_moddn_test.go:30
Function
ExampleConn_ModifyDN_renameNoMove
This example shows how to rename an entry without moving it
v3/examples_moddn_test.go:8
Function
ExampleConn_PasswordModify_admin
()
v3/examples_test.go:153
Function
ExampleConn_PasswordModify_generatedPassword
()
v3/examples_test.go:173
Function
ExampleConn_PasswordModify_setNewPassword
()
v3/examples_test.go:195
Function
ExampleConn_Search
This example demonstrates how to use the search interface
v3/examples_test.go:29
Function
ExampleConn_SearchAsync
This example demonstrates how to search asynchronously
v3/examples_test.go:55
Function
ExampleConn_StartTLS
This example demonstrates how to start a TLS connection
v3/examples_test.go:121
Function
ExampleConn_Syncrepl
This example demonstrates how to do syncrepl (persistent search)
v3/examples_test.go:84
Function
ExampleConn_WhoAmI
ExampleConn_WhoAmI demonstrates how to run a whoami request according to https://tools.ietf.org/html/rfc4532
v3/examples_test.go:562
Function
ExampleControlPaging_manualPaging
This example demonstrates how to use ControlPaging to manually execute a paginated search request instead of using SearchWithPaging.
v3/examples_test.go:378
Function
Example_beherappolicy
()
v3/examples_test.go:294
Function
Example_userAuthentication
Example_userAuthentication shows how a typical application can verify a login attempt Refer to https://github.com/go-ldap/ldap/issues/93 for issues re
v3/examples_test.go:235
Function
Example_vchuppolicy
()
v3/examples_test.go:333
Method
ExternalBind
ExternalBind performs SASL/EXTERNAL authentication. Use ldap.DialURL("ldapi://") to connect to the Unix socket before ExternalBind. See https://tool
v3/bind.go:409
Function
FuzzGetLDAPError
(f *testing.F)
v3/error_test.go:262
Method
GetControlType
GetControlType returns the OID
v3/control.go:224
Method
GetControlType
GetControlType returns the OID
v3/control.go:255
Method
GetControlType
GetControlType returns the OID
v3/control.go:306
Method
GetControlType
GetControlType returns the OID
v3/control.go:338
Method
GetControlType
GetControlType returns the OID
v3/control.go:364
Method
GetControlType
GetControlType returns the OID
v3/control.go:390
Method
GetControlType
GetControlType returns the OID
v3/control.go:423
Method
GetControlType
()
v3/control.go:453
Method
GetControlType
GetControlType returns the OID
v3/control.go:488
Method
GetControlType
GetControlType returns the OID
v3/control.go:517
Method
GetControlType
GetControlType returns the OID
v3/control.go:766
Method
GetControlType
GetControlType returns the OID
v3/control.go:854
Method
GetControlType
GetControlType returns the OID
v3/control.go:1125
Method
GetControlType
GetControlType returns the OID
v3/control.go:1222
Method
GetControlType
GetControlType returns the OID
v3/control.go:1273
Method
GetControlType
GetControlType returns the OID
v3/control.go:1452
Method
GetEqualFoldRawAttributeValue
GetEqualFoldRawAttributeValue returns the first value for the named attribute, or an empty slice
v3/search.go:152
Method
GetLastError
GetLastError returns the last recorded error from goroutines like processMessages and reader. Only the last recorded error will be returned.
v3/conn.go:340
Method
GetLastError
()
v3/client.go:14
Method
GetRawAttributeValue
GetRawAttributeValue returns the first value for the named attribute, or an empty slice
v3/search.go:143
Method
Increment
Increment appends the given attribute to the list of changes to be made
v3/modify.go:78
Method
InitSecContext
InitSecContext initiates the establishment of a security context for GSS-API between the client and server. Initially the token parameter should be sp
v3/bind.go:653
Method
InitSecContext
InitSecContext 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:96
Method
InitSecContext
InitSecContext 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:106
Method
LocalAddr
()
v3/conn_test.go:386
Method
LocalAddr
()
v3/error_test.go:320
Function
Logger
Logger allows clients to override the default logger
v3/ldap.go:92
Method
MD5Bind
MD5Bind performs a digest-md5 bind with the given host, username and password.
v3/bind.go:161
Method
Modify
Modify performs the ModifyRequest
v3/modify.go:112
Method
ModifyDN
ModifyDN renames the given DN and optionally move to another base (when the "newSup" argument to NewModifyDNRequest() is not "").
v3/moddn.go:80
Method
ModifyWithResult
ModifyWithResult performs the ModifyRequest and returns the result
v3/modify.go:145
Method
ModifyWithResult
(*ModifyRequest)
v3/client.go:30
Method
NTLMBind
NTLMBind performs an NTLMSSP Bind with the given domain, username and password
v3/bind.go:489
Method
NTLMBindWithHash
NTLMBindWithHash performs an NTLM Bind with an NTLM hash instead of plaintext password (pass-the-hash)
v3/bind.go:516
Method
NTLMUnauthenticatedBind
NTLMUnauthenticatedBind performs an bind with an empty password. A username is required. The anonymous bind is not (yet) supported by the go-ntlmssp
v3/bind.go:504
Method
NTLMUnauthenticatedBind
(domain, username string)
v3/client.go:23
Method
NegotiateSaslAuth
NegotiateSaslAuth performs the last step of the SASL handshake. See RFC 4752 section 3.1.
v3/gssapi/sspi.go:140
← previous
next →
201–300 of 454, ranked by callers