Hello,
I'm using ApacheDS as an embedeed server for unit testing in java. It works
great except except when I'm doing a filter with a wildcard in the middle
such as (uniqueMember=uid=%u,*,ou=Users,o=XX,dc=XX,dc=be).
With the reald LDAP it works not with the embedded one.
Here are my metadata of the unit test:
*@CreateLdapServer(*
*        transports =*
*                {*
*                        @CreateTransport(protocol = "LDAP")*
*                }*
*)*
*@CreateDS(name = "classDS",*
*        partitions =*
*                {*
*                        @CreatePartition(*
*                                name = "XX",*
*                                suffix = "o=XX,dc=XX,dc=be"*
*                        )*
*                }*
*)*
*@ApplyLdifFiles({*

*        "ldif/XX.ldif"*
*}*
*)*
*@CreateLdapConnectionPool(*
*        maxActive = 1,*
*        maxWait = 5000)*

Is there something else to set in the metadata to enable wildcard in the
middle of a string ?
Best Regards,
Claude

Reply via email to