Difference between Windows Domain platform and Windows Domain via LDAP platform
Symptom
This article is sharing the difference between Windows Domain Account platform and Windows Domain Account via LDAP platform to guide customer with detailed information on each.
Environment
14.0;14.2 Privilege Cloud Central Policy Manager (CPM)
Cause
None
Resolution
The CPM utilizes standard Windows protocols such as SMB, RPC, WMI, and DCOM, operating over ports 139 and 445. Additionally, Kerberos authentication is facilitated through port 88, and DNS queries are made on port 53.
For Windows Domain Accounts via LDAP:
The standard ports used for LDAP communication are:
LDAP: Port 389 (unencrypted)
LDAPS (LDAP over SSL/TLS): Port 636 (encrypted)
When using Kerberos authentication for directory services on Windows, additional ports are utilized:
Kerberos: Port 88
Windows Domain Accounts: This plugin works using the SMB and WMI communication protocols (SMB primarily and WMI if “VerifyMachineNameBeforeAction” is set to Yes) and Kerberos or NTLM authentication protocols
a. Neither of these protocols have encryption configuration options that can be set by the plugin. All encryption and protection mechanisms are set at the OS and are the responsibility of the administrator.
b. This plugin uses the Windows API native “NetUserChangePassword” and “NetUserSetInfo” methods to manage passwords. These calls will be made and the OS will use whatever encryption and protection mechanisms it is configured with while processing these method calls.
c. During authentication NTLM and Kerberos will use their encryption and protection mechanisms. NTLM encrypts just the password while Kerberos performs end to end encryption.
Windows Domain via LDAP: This plugin works using the LDAP communication protocol and Kerberos, NTLM or Basic authentication protocols.
a. The LDAP communication protocol is configurable within the plugin to perform SSL/TLS end to end encryption which encrypts all levels of the communication including the authentication
b. Basic Authentication does not provide encryption; however, basic authentication is encrypted if the plugin is configured to use SSL/TLS encryption in the LDAP protocol. The plugin requires LDAPS (SSL/TLS Encryption enabled for LDAP) if using Basic Authentication
c. NTLM and Kerberos will use their encryption and protection mechanisms as well. NTLM will encrypt the password, while Kerberos will perform end to end authentication.