The URL should be in the format [protocol]://[hostname]:[port]. For example, ldap://mydomainhostname:389 or ldaps://10.1.4.1:636. The default port for a LDAP Server is 389. The default port for a secure LDAPS connection using SSL is 636.
DN Pattern
The DN Pattern used to identify a user in the Generic LDAP database. The variable ${user} must be included in the DN pattern and will be replaced with the username during login. For example, cn=${user},ou=users,dc=example,dc=com