IIM and Active Directory

I'm trying to use IIM with an Active Directory. Authentication and login seems to work just fine, but when

I search for contacts in my client, i get a

[12 Oct 2006 15:58:25,778] WARN xmppd [org.netbeans.lib.collab.util.Worker 2] [LDAP] search failed: (|(&(objectclass=Group)(dn=testuser))(&(objectclass=User)(SAMAccountNam e=testuser))) javax.naming.PartialResultException: Unprocessed Continuation Reference(s); remaining name 'dc=testdomain,dc=com'

My AD seems to return a few references in the reply, but I don't care about any of them. Is there a way to make the IIM ignore this exception?

[631 byte] By [Agehall] at [2008-2-22]
# 1

Hi,

Please take a look here http://forum.java.sun.com/thread.jspa?threadID=205292&tstart=30

In the IM server , we do follow referrals (to override it , use "iim_ldap.referral" in iim.conf - you should not need to change this) , but as mentioned in tcube's response in that post , there is not much we can do about this programmatically other than by configuration of the ldap server itself.

*Correction* Looks like there is something we can do about this - which would be to catch and ignore this exception in case it is not relevent as suggested by http://forum.java.sun.com/thread.jspa?threadID=386553&messageID=2533628.

Unfortunately , this will require changes to the server code and I think you will have to contact the support organisation ...

How exactly does your ldap directory structure look like ?

Regards,

Mridul

MridulM at 2007-7-7 > top of java,E-Mail, Calendar, & Collaboration,Sun Java System Instant Messaging...