On Thu, Apr 17, 2014 at 10:53:53AM -0400, Mello, Cody wrote:
> > This needs a better user interface.
>
> In which ways? Do you mean to avoid making people follow the RFC2247
> style of writing the base DN? Or is there something else?
The "%," notation could perhaps be less cryptic or more general.
Wietse wanted it to be a more general mechanism for iterating over
domain components to produce a result. I could not come up with
any plausible use-cases beyond generation of comma separated
"dc=label" lists.
If anyone can suggest additional use-cases where one might use some
iterator to build a string out of the domain components for LDAP
or even the various SQL tables, please post.
I still think that "%," is reasonably natural, and has no obvious
useful generalizations without simply passing the domain to
for processing via interpreted code.
--
Viktor.