Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server (Not)   Client   Old   Guides   Examples
New in version: 6.2   6.3   6.4   6.5   7.0   7.1   7.2   7.3   7.4   7.5    Statistic  

LDAP.Bind

Authenticates a client to the LDAP server.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
LDAP 6.0 Yes Yes Yes Yes No

MBS( "LDAP.Bind"; LDAPRef; DN; Cred; AuthMethod { ; Domain } )

Parameters

Parameter Description Example value
LDAPRef The reference number for the LDAP connection. $ldap
DN Test that contains the distinguished name of the entry used to bind. This can be a DN, a UPN, a WinNT style user name, or other name that the directory server will accept as an identifier.
Cred The credentials with which to authenticate. Arbitrary credentials can be passed using this parameter. The format and content of the credentials depends on the setting of the method parameter.
AuthMethod The authentication method to use.
Can be simple, SASL or Negotiate.
On Mac OS X, also none, KRBv4, KRBv41 and KRBv42 are accepted.
On Windows, also Sicily, MSN, NTLM, DPA, SSPI, Digest and External are accepted.
"simple"
Domain Optional
Domain for Windows.

Result

Returns OK or error.

Description

Authenticates a client to the LDAP server.

Examples

Authenticate connection:

Set Variable [$r; Value:MBS("LDAP.Bind"; $ldap; $UserName; $Password; $AuthMethod)]

See also

Example Databases


LDAP.AddRecord   -   LDAP.Connect

Feedback: Report problem or ask question.




Links
MBS FileMaker tutorial videos