Segurança da rede: requisitos de criptografia do cliente LDAP: valor do Registro LDAPClientConfidentialityComputadorHKLM\System\CurrentControlSet\Services\LDAP

Categoria
Configurações de segurança › Políticas locais › Opções de segurança
Escopo
Configuração do Computador
Fonte
Windows 11 (versão 26H2 · 26300.9457)

Registro

LDAPClientConfidentiality

REG_DWORDComputador
Valor habilitado
Depende do valor da opção
Elemento
Segurança da rede: requisitos de criptografia do cliente LDAP
Opções
ItemValor armazenado
Nenhum0
Negociar selagem1
Exigir selagem2
Aplicar com .reg · CMD · PowerShell
.reg
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\LDAP]

; Opções (use apenas uma)
; Nenhum
"LDAPClientConfidentiality"=dword:00000000
; Negociar selagem
"LDAPClientConfidentiality"=dword:00000001
; Exigir selagem
"LDAPClientConfidentiality"=dword:00000002
CMD
:: Opções (use apenas uma)

:: Nenhum
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientConfidentiality" /t REG_DWORD /d 0 /f
:: Negociar selagem
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientConfidentiality" /t REG_DWORD /d 1 /f
:: Exigir selagem
reg add "HKLM\System\CurrentControlSet\Services\LDAP" /v "LDAPClientConfidentiality" /t REG_DWORD /d 2 /f
PowerShell
# Comum: criar a chave
New-Item -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Force | Out-Null

# Opções (use apenas uma)
# Nenhum
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientConfidentiality' -PropertyType DWord -Value 0 -Force | Out-Null
# Negociar selagem
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientConfidentiality' -PropertyType DWord -Value 1 -Force | Out-Null
# Exigir selagem
New-ItemProperty -Path 'HKLM:\System\CurrentControlSet\Services\LDAP' -Name 'LDAPClientConfidentiality' -PropertyType DWord -Value 2 -Force | Out-Null