(bug fix) LDAPClient.java
Ben Anderson <[email protected]>
| Newsgroups | gmane.comp.java.enhydra.shark |
|---|---|
| Message-ID | <[email protected]> |
Hi,
We were having some problems with using the LDAP implementation for
users/groups. I added some log4j debugging to the class to
investigate the problem. I believe the problem was with the method:
public java.util.List getAllUserEntries (String groupName)
in LDAPClient.java
It's a recursive method, but it doesn't change state, so it just kept
calling itself over and over. I don't claim to fully understand the
class or the method, but commenting out lines 407 and 408 seems to
have fixed the problem.
/*
ldapOptions.setSearchBase(base);
constraints.setSearchScope(2);
*/
There may be a better fix to this problem, but this was enough to get
us going at this time. Let me know what you Shark developers think.
Thanks,
Ben
message-footer.txt
(text/plain, 271 B)
-- You receive this message as a subscriber of the [email protected] mailing list. To unsubscribe: mailto:[email protected] For general help: mailto:[email protected]?subject=help ObjectWeb mailing lists service home page: http://www.objectweb.org/wws