Log LDAP activity to main log
Fixed syntax error in role syncing