Some for the delay, just the time to proceed some test ;)
To avoid to give u all my source code you can just try with this the
following code
public class GroupLDAPDAOTest extends IpponAbstractServerTest {
@Override
protected void setUp() throws Exception {
super.setUp();
loadDefaultData();
}
public void testJeSaisPas() throws Exception {
String searchFilter =
"(&(member=cn=Pierre-Alain
RIVIERE,ou=Peoples,ou=Paris,ou=Offices,dc=ippon,dc=fr)" +
"(objectClass=ipponGroup))";
String baseDN = "ou=Groups,dc=ippon,dc=fr";
SearchControls controls = new SearchControls();
controls.setSearchScope(SearchControls.SUBTREE_SCOPE);
NamingEnumeration<SearchResult> results =
getContext().search(baseDN, searchFilter, controls);
}
}
I can't give you my LDIF file but inserting a member with a problematic
DN (cn=Stéphane DUPONT, .... ) should be enough.
I also confirm that when there's no group's member which have a
problematic RDN (cn=Stéphane for exemple), all things goes fine.
Emmanuel Lecharny wrote:
I will also need some test I can run :)
Atm, I have the DAOGroup class, but without all the related classes I
need
to make it run without compilation errors ...
Difficult to launcg the debugger wityhout thos guys :)
Thanks !
On 1/31/07, Emmanuel Lecharny <[EMAIL PROTECTED]> wrote:
Hi,
is it possible to have the IponSchema.java file? I need it to be able to
launch the test
--
Cordialement,
Emmanuel Lécharny
www.iktek.com