Filter for selecting active users from AD/LDAP

How to select only active AD accounts?
Below is a filter for selecting only active user accounts in ActiveDirectory:
(&(objectCategory=person)(objectClass=user)(!userAccountControl=514))
 
Enter this filter in the field Filter for importing and synchronization in Administration - System - System Settings - External authentication modules - Integration with Active Directory: