authMechanism (property)
The authentication mechanism to be used when connecting to the LDAP server.
Syntax
@property (nonatomic,readwrite,assign,getter=authMechanism,setter=setAuthMechanism:) int authMechanism; - (int)authMechanism; - (void)setAuthMechanism:(int)newAuthMechanism;
/* Possible Values */
LAM_SIMPLE(0),
LAM_DIGEST_MD5(1),
LAM_NEGOTIATE(2),
LAM_KERBEROS(6)
public var authMechanism: LdapAuthMechanisms { get {...}
set {...} }
public enum LdapAuthMechanisms : Int32 { case lamSimple = 0 case lamDigestMD5 = 1 case lamNegotiate = 2 case lamKerberos = 6 }
Default Value
0
Remarks
This property specifies the authentication mechanism used. Possible values are:
0 (lamSimple - default) | Plaintext authentication |
1 (lamDigestMD5) | DIGEST-MD5 authentication |
2 (lamNegotiate) | NTLM/Negotiate authentication |
6 (lamKerbers) | Kerberos authentication |