#2097 Unable to modify permission
Closed: Fixed None Opened 12 years ago by edewata.

Modifying a permission doesn't work. See the following example:

# ipa permission-add test --permissions=write --filter="(ou=*)"
-----------------------
Added permission "test"
-----------------------
  Permission name: test
  Permissions: write
  Filter: (ou=*)



# ipa permission-mod test --filter="(ou=test)"
ipa: ERROR: invalid 'target': group, permission and self are mutually exclusive

Another issue found by rcritten in #2039:

This seems to break other flags, see random of host. The value is getting set to the string u'TRUE' or u'FALSE' so option.get('random', False) doesn't do the right thing.

ipa host-add test.example.com

This will always generate a random password.

Patch freeipa-mkosek-169-fix-ldap-object-parameter-encoding.patch sent for review

This was a regression to #2039.

Metadata Update from @edewata:
- Issue assigned to mkosek
- Issue set to the milestone: FreeIPA 3.0 Core Effort - 2011/11

7 years ago

Login to comment on this ticket.

Metadata