Cperello/minor fixes

This branch fixes the creation of users and groups on Zentyal while connected to a Windows AD.