[Date Prev][Date Next] [Chronological] [Thread] [Top]

slapd returns different attribute name than asked for (ITS#2064)

Full_Name: Peter Marschall
Version: 2.1.4
OS: Linux 2.4.x
Submission from: (NULL) (

When explicitely asking for an attribute that has multiple names (aliases)
in a search, slapd does not guarantee to return the attribute name asked for

I.e. when doing a  

  ldapsearch (surname=Marschall) surname

ldapsearch returns.

  # Marschall Peter, MPN, de
  dn: cn=Marschall Peter@,o=MPN,c=de
  sn: Marschall

I checked with a network sniffer:
ldapsearch asks for "surname", nut slapd answers with "sn"