summaryrefslogtreecommitdiffstats
path: root/ldap/servers/slapd/valueset.c
diff options
context:
space:
mode:
authorNathan Kinder <nkinder@redhat.com>2010-09-01 10:13:13 -0700
committerNathan Kinder <nkinder@redhat.com>2010-09-01 10:15:41 -0700
commite873a84559ad23cec56370b3d8511f658d476d99 (patch)
treeeb2eb29d346f79c57b788abf843be82ae629d547 /ldap/servers/slapd/valueset.c
parentbc7df12bbdeade5ba5115e5ea900d16ddd23c046 (diff)
downloadds-e873a84559ad23cec56370b3d8511f658d476d99.tar.gz
ds-e873a84559ad23cec56370b3d8511f658d476d99.tar.xz
ds-e873a84559ad23cec56370b3d8511f658d476d99.zip
Bug 612264 - ACI issue with (targetattr='userPassword')
If an ACI has a targetattr of userPassword and uses the USERDN keyword, the ACI may not be evaluated correctly for password change operations. This is caused by the fact that we use a dummy target entry to check if the pasword change is allowed early in the operation. This dummy entry will not have any attributes that the ACI may use. The fix is to actually fetch the target entry with all of it's attributes. We still create a dummy entry if the target doesn't exist to prevent returning a no such entry error when we should be returning an access denied or insufficient access error.
Diffstat (limited to 'ldap/servers/slapd/valueset.c')
0 files changed, 0 insertions, 0 deletions