AuthMechanism Property

The authentication mechanism to be used when connecting to the LDAP server.

Syntax

ANSI (Cross Platform)
int GetAuthMechanism();
int SetAuthMechanism(int iAuthMechanism); Unicode (Windows) INT GetAuthMechanism();
INT SetAuthMechanism(INT iAuthMechanism);

Possible Values

LAM_SIMPLE(0), 
LAM_DIGEST_MD5(1),
LAM_NEGOTIATE(2),
LAM_KERBEROS(6)
@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)
#define PID_LDAP_AUTHMECHANISM 6

IPWORKS_EXTERNAL void* IPWORKS_CALL IPWorks_LDAP_Get(void *lpObj, int propid, int arridx, int *lpcbVal, int64 *lpllVal);
IPWORKS_EXTERNAL int IPWORKS_CALL IPWorks_LDAP_Set(void *lpObj, int propid, int arridx, const void *val, int cbVal);

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 (lamKerberos) Kerberos authentication

Data Type

Integer

Copyright (c) 2022 /n software inc. - All rights reserved.
IPWorks 2020 C++ Edition - Version 20.0 [Build 8307]