Description of problem: The -G option of ipa-adduser doesn't work: it cannot find any existent group. Version-Release number of selected component (if applicable): FreeIPA 1.1, RPM version: ipa-admintools-1.1.0-4.fc9.x86_64 How reproducible: find an existent group via ipa-findgroup, then add an user, e.g.: ipa-finduser studenti ipa-adduser -G studenti prova2 Actual results: group studenti doesn't exist, skipping prova2 successfully added Expected results: The new user should be added to the existent group.
master: f33c57e6f811f97dfe7867420d97ec90a545c1ca
Fix verified: ipa-adduser -G option is working, user is added and is a member or the group. [root@jennyv3 ~]# ipa-adduser -G test tester First name: Jenny Last name: Test tester successfully added [root@jennyv3 ~]# ipa-finduser -a tester dn: uid=tester,cn=users,cn=accounts,dc=bos,dc=redhat,dc=com Full Name: Jenny Test GECOS: tester GID: 1002 First Name: Jenny Last Name: Test Home Directory: /home/tester krbprincipalname: tester.COM Login Shell: /bin/bash memberof: cn=ipausers,cn=groups,cn=accounts,dc=bos,dc=redhat,dc=com cn=test,cn=groups,cn=accounts,dc=bos,dc=redhat,dc=com objectclass: top person organizationalPerson inetOrgPerson inetUser posixAccount krbPrincipalAux radiusprofile Login: tester UID: 1103