Artifactory uses a 10 or 15 second (depending on version) connection timeout to LDAP by default. This default timeout should be sufficient in most cases, if you encounter timeouts we strongly suggest investigating the reason for the timeout as your first step. If the LDAP search does not return result in time, Artifactory will throw an error similar to below
[ERROR] (o.a.a.l.p.LdapGroupProviderImpl:190) - An error occurred while retrieving LDAP groups with strategy STATIC, org.springframework.ldap.UncategorizedLdapException: Uncategorized exception occured during LDAP processing; nested exception is javax.naming.NamingException: LDAPresponse read timed out, timeout used:10000ms.; remaining name 'ou=exchange_objects,dc=joshuanet,dc=global,dc=joshua,dc=com'