[Date Prev][Date Next]
(ITS#4224) Incorrect return code from dyngroup/dynlist when checking membership of a non-existing DN?
Full_Name: Pierangelo Masarati
Submission from: (NULL) (184.108.40.206)
Submitted by: ando
I've found out that if I run a compare for "member:cn=Non-Existing" with either
dyngroup or dynlist, I get noSuchObject (32) instead of FALSE. The dynamic
object correctly expands "memberURL" attributes into lists of "member"
attributes, so the "member" attribute virtually exists, but the value doesn't,
so backend_group() return noSuchObject, and this error is echoed in the result.
I think this is incorrect, because since "member" virtually exists, while the
asserted value is absent, the correct return code should be compareFalse.
I'd fix the code this way in the overlays unless there are objections.