Hello @FelixChen ,
"Establishing a secure LDAP connection using SSL" seems what you are looking for. You can specify port number via ldap_sslinit function.
If no port number is specified, the LDAP provider uses the default port number. The default port number is 389 if not using an SSL connection or 636 if using an SSL connection.
For more information about specific Active Directory Domain Services technologies, see:
- Lightweight Directory Access Protocol
- Active Directory Service Interfaces
- System.DirectoryServices
Thank you!
If the answer is helpful, please click "Accept Answer" and upvote it.
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.