goetas/redmine_ldap_sync — comment on commit 9a27ddba86dd35b07d2a822ccf5cabefaa9759be
File:  line 0
By thorin:

:/ The problem is that for a Active Directory the flags are bits and it's not easy to test with a regular expression.

- AD: flags & 2 != 0
- Samba: flags.include? 'D'