Usergroups can be linked to an LDAP auth_source. This allows usergroups
to be on sync with its equivalent LDAP usergroup.

Relation between auth_sources and usergroups

Tests, validations, and actual LDAP queries

Rake task to periodically refresh LDAP user groups

Adding LDAP users is done through User.where, not iterating through all possible users

Migration for groups/user OU, recursive usergroup search

Non recursive LDAP rake task

Check against LDAP aliases, or other empty results

Remove code from other branch

Remove Users OU because its irrelevant with Ldap_fluff

Ldap_fluff added to Gemfile

Refactor to use ldap_fluff and server type

Refresh usergroups on user login

Refresh ldap task in package

Rescue refresh usergroups errors

External LDAP usergroups

Refresh external usergroup LDAP

Wrong usergroup validation

Removed breakpoint

Fixed tests for external usergroups

refresh permission