Fix use deprecated attributes uid and gid
Merge pull request #1446 from Zentyal/scabrero/fix-deprecated-attributes

Fix use deprecated attributes uid and gid