[389-devel] Please review: [389 Project] #604: Required attribute not checked during search operation

Noriko Hosoi nhosoi at redhat.com
Sat Mar 2 01:55:40 UTC 2013


https://fedorahosted.org/389/ticket/604

https://fedorahosted.org/389/attachment/ticket/604/0001-Ticket-604-Required-attribute-not-checked-during-sea.patch

Comment (by nhosoi):

  Bug description: If attribute list passed from the ldapsearch
  contains a string with a space and following characters, the
  same string is returned to the client.  E.g.,
    ldapsearch -b <basedn> "(filter)" "sn garbage"
  returns
    dn: <matched dn>
    sn garbage: <sn>

  Fix description: This patch introduces a config parameter
  nsslapd-search-return-original-type-switch.  It takes on | off.
  By default, it is off.  When it is off, search returns the
  attribute from which a space and following characters are
  chopped.
    dn: <matched dn>
    sn: <sn>
  If it is on, it respects the current behaviour and returns
  the original attribute string.




More information about the 389-devel mailing list