Group of an Active-Directory authenticated user: firewall:/root # wbinfo --user-domgroups=$(wbinfo --name-to-sid=USERNAME)|while read i; do echo $i;wbinfo --sid-to-name $i;done