Hi,
Using an internal ldap server would be a IM server configuration : you would need to configure the server to use the specific ldap you want to authenticate the users against.
According to this page http://jwchat.sourceforge.net/features.shtml , jwchat support JUD - which is a standard extension that Sun IM server supports for searching users : so it should be possible to search for users in your ldap.
For a user to see another contact's presence (I am assuming that is what you meant below), the user should be subscribed to the contact through the roster (buddy list).
Hope this help,
Regards,
Mridul
Hi Omkar,
No, the client does not have any control of which ldap the server will use.
It can specify a query and the domain to search in using jud - but the server is responsible for doing the search from the appropriate backend it is configured with.
You are essentially searching for xmpp users - not ldap users (they would both be the same in case searchbase is appropriately configured).
I am not part of jwchat development, but like any other xmpp client, I would assume you would just provide a query string and get the client to ask the server to search for users matching that query.
Regards,
Mridul