server= 'ldap://ldap.infonotary.com'
dn ='dc=identity-ca,dc=infonotary,dc=com'
ldapserver = ldap3.Server(server, connect_timeout=3)
ldap_conn = ldap3.Connection(ldapserver, auto_bind=True, receive_timeout=1)
ldap_conn.search(search_base=dn, search_filter='(objectClass=*)', search_scope=ldap3.BASE, attributes=['certificateRevocationList;binary'], time_limit=1)
connect_timeout工作正常。但是receive_timeout对我不起作用。我做对了吗?连接发生的时间超过了receive_timeout设置的时间。