#8155 Enhance error message for adding non-posix groups with a GID
Closed: fixed 2 years ago by antorres. Opened 4 years ago by twoerner.

Issue

group_add is not providing a good error message if a non-posix group should be added and a GID Is given additionally.

Steps to Reproduce

  1. ipa group-add testgroup --nonpoix --gid=10011

Actual behavior

ipa: ERROR: attribute "gidNumber" not allowed

Expected behavior

ipa: ERROR: attribute "gidNumber" not allowed with --nonposix

Version/Release/Distribution

$ rpm -q freeipa-server freeipa-client ipa-server ipa-client 389-ds-base pki-ca krb5-server
ipa-server-4.8.0-11.module+el8.1.0+4247+9f3fd721.x86_64
ipa-client-4.8.0-11.module+el8.1.0+4247+9f3fd721.x86_64
389-ds-base-1.4.1.3-7.module+el8.1.0+4150+5b8c2c1f.x86_64
pki-ca-10.7.3-1.module+el8.1.0+3964+500fc130.noarch
krb5-server-1.17-9.el8.x86_64

Additional info:

This is a clone from https://bugzilla.redhat.com/show_bug.cgi?id=1750630
[ansible-freeipa] Required better error message for adding non-posix group with gid


Metadata Update from @antorres:
- Issue assigned to antorres

2 years ago

master:

  • c0216fb Enhance error message when adding non-posix group with a GID
  • 5984f14 ipatests: add test for group creation with GID and nonposix option

Metadata Update from @antorres:
- Custom field affects_doc adjusted to on
- Custom field knownissue adjusted to on
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

ipa-4-9:

  • 28d310d Enhance error message when adding non-posix group with a GID
  • d8bc3e4 ipatests: add test for group creation with GID and nonposix option

Login to comment on this ticket.

Metadata