Bug 6394 - Sortkeylist on attribute displayName fails with unwillingToPeform
Summary: Sortkeylist on attribute displayName fails with unwillingToPeform
Alias: None
Product: Samba 4.0
Classification: Unclassified
Component: Other (show other bugs)
Version: unspecified
Hardware: Other Linux
: P3 normal (vote)
Target Milestone: ---
Assignee: Andrew Bartlett
QA Contact: Andrew Bartlett
Depends on:
Reported: 2009-05-22 17:21 UTC by Matthieu Patou
Modified: 2009-06-09 13:18 UTC (History)
0 users

See Also:

Tcpdump capture of an LDAP exchange (1.65 KB, application/octet-stream)
2009-05-22 17:22 UTC, Matthieu Patou
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Matthieu Patou 2009-05-22 17:21:28 UTC
A request for sorting on the attribute displayName is denied by the server.
Outlook use this kind of request when connected to a samba server (when it announce that it supports the following 1.2.840.113556.1.4.800 capability, which is needed to make adcu work in windows server 2008).
Comment 1 Matthieu Patou 2009-05-22 17:22:04 UTC
Created attachment 4189 [details]
Tcpdump capture of an LDAP exchange
Comment 2 Matthieu Patou 2009-05-22 17:23:57 UTC
The attachement located here :https://bugzilla.samba.org/attachment.cgi?id=4188

Show a similar request made when the capability is removed from the server, the request is successful because it's on attribute CN (instead of displayName).

Comment 3 Matthieu Patou 2009-06-09 13:18:12 UTC
After more investigation it turns out that it works. The problem was created by the fact that groups or users do not have everytime the displayName attribute and it's not a filter parameter of the request but it's used as a sort key (strange logic ...).