directory-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From david jones <>
Subject search not working as expected
Date Mon, 17 Oct 2011 12:29:14 GMT
can anyone tell me why this search is not working for name=USERID (or any
other search on name i've tried. I thought initially it might have something
to do with case, but does not appear to be)

code (1.5.5):

filter = FilterParser.parse("(&(ou=bofmusers)(name="+name+"))");
            cursor = service.getAdminSession().search(new
LdapDN("ou=system") , SearchScope.SUBTREE , filter,
AliasDerefMode.DEREF_ALWAYS, null);

            // Find a matching entry by name
            while ( )

exported ldif:

dn: uid=6eaae748-92c3-43d7-8e46-1c5f805d70ff,ou=bofmusers,ou=system

objectClass: bofmUsers

objectClass: top

cn: 6eaae748-92c3-43d7-8e46-1c5f805d70ff

member: ou=bofmusers,ou=system

name: USERID

ou: ou=bofmusers,ou=system

ou: bofmusers

uid: 6eaae748-92c3-43d7-8e46-1c5f805d70ff

I've got the ldap debug trace, but i think its too long to append.


  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message