Cmdlets for LDAP

Build 25.0.9434

AuthMechanism Parameter (Connect-LDAP Cmdlet)

Specifies the authentication mechanism to use when connecting to the LDAP server. Supported values are SIMPLE for plaintext authentication and NEGOTIATE for NTLM/Negotiate authentication.

Syntax

Connect-LDAP -AuthMechanism string

Possible Values

SIMPLE, NEGOTIATE

Data Type

cstr

Default Value

"SIMPLE"

Remarks

This property specifies the method of authentication to use during connection. The default value is SIMPLE, which uses plaintext credentials to authenticate with the server. If set to NEGOTIATE, NTLM/Negotiate authentication is used, enabling support for Windows-based integrated authentication. Ensure the LDAP server supports the specified authentication mechanism. Use NEGOTIATE for environments that require secure, integrated authentication, while SIMPLE is suitable for scenarios where plaintext credentials are accepted.

This is a required parameter.

Copyright (c) 2025 CData Software, Inc. - All rights reserved.
Build 25.0.9434