[jcifs] How to list users of network domain?

Kumar, Saurav saurav.kumar at barco.com
Tue Nov 4 09:36:47 GMT 2008



I am trying to use JCIF in our java bases rich client application, in
which we want to support all the valid windows users in our software.  



See this piece of code.


  UniAddress uniaddress = UniAddress.getByName("NOICLT134109");

  NtlmPasswordAuthentication ntlmpasswordauthentication = new

  SmbSession.logon(uniaddress, ntlmpasswordauthentication);



This works fine for both ldap based users as well as any local users
available on my localsystem. I am able to validate both. Great!!


Now, I want to see the list of users available in on particular
computer, let us say NOICLT12333.


Any idea how to do it?







Unless indicated otherwise, the information contained in this message is privileged and confidential, and is intended only for the use of the addressee(s) named above and others who have been specifically authorized to receive it. If you are not the intended recipient, you are hereby notified that any dissemination, distribution or copying of this message and/or attachments is strictly prohibited. The company accepts no liability for any damage caused by any virus transmitted by this email. Furthermore, the company does not warrant a proper and complete transmission of this information, nor does it accept liability for any delays. If you have received this message in error, please contact the sender and delete the message. Thank you.
-------------- next part --------------
HTML attachment scrubbed and removed

More information about the jcifs mailing list