Description of problem: When attempting to use user-mod to add a user to a group it reports Object class violation:attribute "groups" not allowed Version-Release number of selected component (if applicable): ipa-server-2.0-2.20090521.el5ipa How reproducible: always Steps to Reproduce: 1. ipa user-add --first=user --last=002 --home=/usershome/u002 --shell=/usr/bash u002 (success) 2. ipa group-add --description="group 100 stores user u001-u099" grp001 (success) 3. ipa user-mod --groups=grp001 u002 Actual results: ipa user-mod --groups=grp001 u002 ipa: ERROR: Object class violation:attribute "groups" not allowed
There is no --groups option in user-mod anymore. To add users to group, use: ipa group-add-member randomgroup --users user1,user2,user3