MCPcopy Index your code

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

Functions454 in github.com/go-ldap/ldap

MethodClose
Close deletes any established secure context and closes the client.
v3/gssapi/client.go:91
MethodCompare
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
MethodControls
Controls returns controls from the given search request
v3/response.go:41
FunctionDebugBinaryFile
DebugBinaryFile reads and prints packets from the given filename
v3/ldap.go:299
MethodDel
Del executes the given delete request
v3/del.go:39
MethodDelete
Delete appends the given attribute to the list of changes to be made
v3/modify.go:68
MethodDeleteSecContext
DeleteSecContext destroys any established secure context.
v3/gssapi/client.go:97
FunctionDial
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
FunctionDialTLS
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
FunctionDialWithDialer
DialWithDialer updates net.Dialer in DialContext.
v3/conn.go:131
FunctionDialWithTLSDialer
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
MethodDirSync
DirSync does a Search with dirSync Control.
v3/search.go:675
MethodDirSyncAsync
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
MethodEnable
Enable controls debugging mode.
v3/debug.go:12
MethodEncode
Encode returns the ber packet representation
v3/control.go:229
MethodEncode
Encode returns the ber packet representation
v3/control.go:260
MethodEncode
Encode returns the ber packet representation
v3/control.go:311
MethodEncode
Encode returns the ber packet representation
v3/control.go:343
MethodEncode
Encode returns the ber packet representation
v3/control.go:369
MethodEncode
Encode returns the ber packet representation
v3/control.go:395
MethodEncode
Encode returns the ber packet representation
v3/control.go:428
MethodEncode
()
v3/control.go:458
MethodEncode
Encode returns the ber packet representation
v3/control.go:493
MethodEncode
Encode returns the ber packet representation
v3/control.go:522
MethodEncode
Encode returns the ber packet representation
v3/control.go:776
MethodEncode
Encode returns the ber packet representation
v3/control.go:871
MethodEncode
()
v3/control.go:958
MethodEncode
()
v3/control.go:1079
MethodEncode
Encode encodes the control
v3/control.go:1130
MethodEncode
Encode encodes the control
v3/control.go:1227
MethodEncode
Encode encodes the control
v3/control.go:1278
MethodEncode
Encode encodes the control
v3/control.go:1457
MethodEntry
Entry returns an entry from the given search request
v3/response.go:31
MethodEqual
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
MethodEqual
Equal returns true if the AttributeTypeAndValue is equivalent to the specified AttributeTypeAndValue Case of the attribute type is not significant
v3/dn.go:372
MethodEqual
Equal compares the current PostalAddress with another PostalAddress and returns true if they are identical.
v3/postaladdress.go:113
MethodEqualFold
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
MethodEqualFold
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
MethodErr
Err returns an error when the given search request was failed
v3/response.go:46
FunctionExampleConn_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
FunctionExampleConn_Compare
This example demonstrates how to compare an attribute with a value
v3/examples_test.go:138
FunctionExampleConn_DirSync
This example demonstrates how to use DirSync to manually execute a DirSync search request
v3/examples_test.go:417
FunctionExampleConn_DirSyncAsync
This example demonstrates how to use DirSync search asynchronously
v3/examples_test.go:470
FunctionExampleConn_ExternalBind
This example demonstrates how to use EXTERNAL SASL with TLS client certificates.
v3/examples_test.go:513
FunctionExampleConn_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
FunctionExampleConn_Modify
()
v3/examples_test.go:215
FunctionExampleConn_ModifyDN_moveOnly
This example shows how to move an entry to a new base without renaming the RDN
v3/examples_moddn_test.go:54
FunctionExampleConn_ModifyDN_renameAndMove
This example shows how to rename an entry and moving it to a new base
v3/examples_moddn_test.go:30
FunctionExampleConn_ModifyDN_renameNoMove
This example shows how to rename an entry without moving it
v3/examples_moddn_test.go:8
FunctionExampleConn_PasswordModify_admin
()
v3/examples_test.go:153
FunctionExampleConn_PasswordModify_generatedPassword
()
v3/examples_test.go:173
FunctionExampleConn_PasswordModify_setNewPassword
()
v3/examples_test.go:195
FunctionExampleConn_Search
This example demonstrates how to use the search interface
v3/examples_test.go:29
FunctionExampleConn_SearchAsync
This example demonstrates how to search asynchronously
v3/examples_test.go:55
FunctionExampleConn_StartTLS
This example demonstrates how to start a TLS connection
v3/examples_test.go:121
FunctionExampleConn_Syncrepl
This example demonstrates how to do syncrepl (persistent search)
v3/examples_test.go:84
FunctionExampleConn_WhoAmI
ExampleConn_WhoAmI demonstrates how to run a whoami request according to https://tools.ietf.org/html/rfc4532
v3/examples_test.go:562
FunctionExampleControlPaging_manualPaging
This example demonstrates how to use ControlPaging to manually execute a paginated search request instead of using SearchWithPaging.
v3/examples_test.go:378
FunctionExample_beherappolicy
()
v3/examples_test.go:294
FunctionExample_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
FunctionExample_vchuppolicy
()
v3/examples_test.go:333
MethodExternalBind
ExternalBind performs SASL/EXTERNAL authentication. Use ldap.DialURL("ldapi://") to connect to the Unix socket before ExternalBind. See https://tool
v3/bind.go:409
FunctionFuzzGetLDAPError
(f *testing.F)
v3/error_test.go:262
MethodGetControlType
GetControlType returns the OID
v3/control.go:224
MethodGetControlType
GetControlType returns the OID
v3/control.go:255
MethodGetControlType
GetControlType returns the OID
v3/control.go:306
MethodGetControlType
GetControlType returns the OID
v3/control.go:338
MethodGetControlType
GetControlType returns the OID
v3/control.go:364
MethodGetControlType
GetControlType returns the OID
v3/control.go:390
MethodGetControlType
GetControlType returns the OID
v3/control.go:423
MethodGetControlType
()
v3/control.go:453
MethodGetControlType
GetControlType returns the OID
v3/control.go:488
MethodGetControlType
GetControlType returns the OID
v3/control.go:517
MethodGetControlType
GetControlType returns the OID
v3/control.go:766
MethodGetControlType
GetControlType returns the OID
v3/control.go:854
MethodGetControlType
GetControlType returns the OID
v3/control.go:1125
MethodGetControlType
GetControlType returns the OID
v3/control.go:1222
MethodGetControlType
GetControlType returns the OID
v3/control.go:1273
MethodGetControlType
GetControlType returns the OID
v3/control.go:1452
MethodGetEqualFoldRawAttributeValue
GetEqualFoldRawAttributeValue returns the first value for the named attribute, or an empty slice
v3/search.go:152
MethodGetLastError
GetLastError returns the last recorded error from goroutines like processMessages and reader. Only the last recorded error will be returned.
v3/conn.go:340
MethodGetLastError
()
v3/client.go:14
MethodGetRawAttributeValue
GetRawAttributeValue returns the first value for the named attribute, or an empty slice
v3/search.go:143
MethodIncrement
Increment appends the given attribute to the list of changes to be made
v3/modify.go:78
MethodInitSecContext
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
MethodInitSecContext
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
MethodInitSecContext
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
MethodLocalAddr
()
v3/conn_test.go:386
MethodLocalAddr
()
v3/error_test.go:320
FunctionLogger
Logger allows clients to override the default logger
v3/ldap.go:92
MethodMD5Bind
MD5Bind performs a digest-md5 bind with the given host, username and password.
v3/bind.go:161
MethodModify
Modify performs the ModifyRequest
v3/modify.go:112
MethodModifyDN
ModifyDN renames the given DN and optionally move to another base (when the "newSup" argument to NewModifyDNRequest() is not "").
v3/moddn.go:80
MethodModifyWithResult
ModifyWithResult performs the ModifyRequest and returns the result
v3/modify.go:145
MethodModifyWithResult
(*ModifyRequest)
v3/client.go:30
MethodNTLMBind
NTLMBind performs an NTLMSSP Bind with the given domain, username and password
v3/bind.go:489
MethodNTLMBindWithHash
NTLMBindWithHash performs an NTLM Bind with an NTLM hash instead of plaintext password (pass-the-hash)
v3/bind.go:516
MethodNTLMUnauthenticatedBind
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
MethodNTLMUnauthenticatedBind
(domain, username string)
v3/client.go:23
MethodNegotiateSaslAuth
NegotiateSaslAuth performs the last step of the SASL handshake. See RFC 4752 section 3.1.
v3/gssapi/sspi.go:140
← previousnext →201–300 of 454, ranked by callers