Subject: 23.3; displayName is missing from ldap-attribute-syntaxes-alist

From: Łukasz Stelmach <[email-masked]>
Date: Fri, 01 Jul 2011 23:38:42 +0200

Hello.

  (ldap-search "uid=fgg" "localhost" '("displayName"))

returns 

  ((("Friedrich Georg GÃ¶the")))

while 

  (ldap-search "uid=fgg" "localhost" '("sn"))

gives

  ((("Göthe")))

That is because ldap-attribute-syntaxes-alist lacks (displayname . 15).
The displayName attribute is a part of InetOrgPerson schema (RFC2798).

In GNU Emacs 23.3.1 (x86_64-pc-linux-gnu, GTK+ Version 2.22.1)
 of 2011-05-28 on kotik

The bug is in trunk too.

-- 
Miłego dnia,
Łukasz Stelmach