summaryrefslogtreecommitdiffstats
path: root/lib/libaccess/aclparse.cpp
diff options
context:
space:
mode:
authorNoriko Hosoi <nhosoi@redhat.com>2010-10-13 11:23:49 -0700
committerNoriko Hosoi <nhosoi@redhat.com>2010-10-13 11:23:49 -0700
commite6c0ce5d97a78689722fe3c627f7a99cf81f6b77 (patch)
treecb92bea520439a8df4076dcfc494d7e0bc3419e8 /lib/libaccess/aclparse.cpp
parentc5cd4dd3baf47d6f3f11d23c2bf4d1a6300da863 (diff)
downloadds-e6c0ce5d97a78689722fe3c627f7a99cf81f6b77.tar.gz
ds-e6c0ce5d97a78689722fe3c627f7a99cf81f6b77.tar.xz
ds-e6c0ce5d97a78689722fe3c627f7a99cf81f6b77.zip
Bug 602456 - Allow to add any cn=config attributes;389-ds-base-1.2.7.a1
allow to delete some cn=config attributes https://bugzilla.redhat.com/show_bug.cgi?id=602456 Description: 1. Originally, configuration attributes are designed not to allow adding or deleting, but to allow just replacing. Due to a defect in checking the add operation, adding (LDAP_MOD_ADD) is not rejected. Instead of fixing the add checking to disallow adding, this patch logs the operation in the error log. 2. On the other hand, deleting configuration attributes is rejected by LDAP_UNWILLING_TO_PERFORM. We have a request that some attributes need to allow to delete. This patch introduces a config attribute nsslapd-allowed-to-delete-attrs, which value is configuration attributes separated by a space ' '. If an attribute is in the list, the attribute is allowed to delete. The delete operation is also logged in the error log. By default, the list contains "nsslapd- listenhost" and "nsslapd-securelistenhost".
Diffstat (limited to 'lib/libaccess/aclparse.cpp')
0 files changed, 0 insertions, 0 deletions