Unix enable an existing group and add users to an existing group.
说明
1) How to Unix enable an existing group in Active Directory from a Unix system.
2) How to add a Unix enabled Active Directory user to an existing Active Directory Group from a Unix system.
解决办法
1) How to Unix enable an existing group in Active Directory from a Unix system.
Please see the following example where admin is your AD account with permissions to Unix enable groups. group1 is the existing group that is being Unix enabled. "4491" is and example of a GID you would assign to a group.
#/opt/quest/bin/vastool -u admin create -e -i "group1:x:4491:" group group1
2) How to add a Unix enabled Active Directory user to an existing Active Directory Group from a Unix system.
Please see the following example where admin is an AD account with permissions to add the user. groupname is the name of the group in AD and username is the name of the AD user you are adding to the group.
/opt/quest/bin/vastool -u admin group groupname add username