[Freeipa-devel] [PATCH] 73 Check whether the default user group is POSIX when adding new user with --noprivate

Martin Kosek mkosek at redhat.com
Tue Apr 3 11:02:29 UTC 2012


On Tue, 2012-04-03 at 11:58 +0200, Jan Cholasta wrote:
> https://fedorahosted.org/freeipa/ticket/2572
> 
> Honza
> 

NACK.

This creates a regression:

# ipa group-show foogroup
  Group name: foogroup
  Description: foo
  GID: 358800017

# ipa user-add --first=Foo --last=Bar fbar5 --gidnumber=358800017 --noprivate
------------------
Added user "fbar5"
------------------
  User login: fbar5
  First name: Foo
  Last name: Bar
  Full name: Foo Bar
  Display name: Foo Bar
  Initials: FB
  Home directory: /home/fbar5
  GECOS field: Foo Bar
  Login shell: /bin/sh
  Kerberos principal: fbar5 at IDM.LAB.BOS.REDHAT.COM
  UID: 358800019
  GID: 358800012
  Password: False
  Member of groups: ipausers
  Kerberos keys available: False

# id fbar5
uid=358800019(fbar5) gid=358800012(ipausers) groups=358800012(ipausers)

Custom user group (GID) was overwritten.

I think we also want a test case for this situation.

Martin




More information about the Freeipa-devel mailing list