On Tue, Jul 8, 2014 at 3:35 PM, Rich Megginson <rmeggins(a)redhat.com> wrote:
On 07/08/2014 03:26 AM, Dave Page wrote:
>
> On Mon, Jul 7, 2014 at 3:03 PM, Rich Megginson <rmeggins(a)redhat.com>
> wrote:
>>
>> On 07/07/2014 06:09 AM, Dave Page wrote:
>>>
>>> Hi
>>>
>>> I'm working on a PoC migration of an OpenLDAP infrastructure to 389.
>>> Our existing directory has periods in all of the usernames, e.g.
>>> dave.page. However, this seems to cause problems with the org chart
>>> interface, which complains with:
>>>
>>> "." is not allowed in search filters.
>>>
>>> when clicking on the org chart icon for a user. The same issue is seen
>>> when using directory express and clicking the org chart link.
>>>
>>> How can I resolve this, without changing hundreds of usernames (which
>>> is not an option)?
>>
>> Please file a ticket.
>
> Done:
https://fedorahosted.org/389/ticket/47842
Thanks!
>
>> Are you a perl hacker, by any chance?
>
> Not really (more of a C/C++ guy). I may be able to figure it out
> though, if you can point me in the right direction.
>
Hmm - looking at the code - looks like you could edit orgchart.conf and add
"." to the allowed-filter-chars
https://git.fedorahosted.org/cgit/389/dsgw.git/tree/orgbin/org.in#n992
https://git.fedorahosted.org/cgit/389/dsgw.git/tree/orgbin/org.in#n1250
That seems to break it entirely - no error message, no results, and
nothing in the logs to give any clues :-(
--
Dave Page
Blog:
http://pgsnake.blogspot.com
Twitter: @pgsnake
EnterpriseDB UK:
http://www.enterprisedb.com
The Enterprise PostgreSQL Company