Package: nss-pam-ldapd
Version: 0.7.2
Severity: minor

[Seen in version 0.7.2 on Ubuntu lucid, probably also applies to the latest
version since the VCS shows no relevant code changes since then.]

common/expr.c:parse_dollar_expression() will always evaluate $cn in
${gecos:-$cn} even when the gecos attribute is non-null. For an entry
with multiple cn values, this results in warnings "entry $dn contains
multiple cn values" which are just an annoyance when the entry also
contains a gecos attribute. (There are legitimate reasons for the cn
attribute to be multi-valued.)

Would it be possible to optimize away the evaluation of the right-hand
side of :- and :+ based on the value of the left-hand side?



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to