Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.2   7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.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 } )   More

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

Created 15th December 2015, last changed 2nd February 2016


LDAP.AddRecord   -   LDAP.Connect

Feedback: Report problem or ask question.




Links
MBS Xojo Plugins