You should have a look at how your specific AD setup using ADSIEdit, it comes with Win2K Support Tools.
Generally though, it will be something like: Base/Root DN is: dc=mycompany,dc=com below that there will be a Container (cn) called Users. You can place/lookup users in there. Note that your company might also create Organizational Units (ou) under the root DN. Users can then also be placed under there. One way to look up Users is to search from the Root DN, using a search filter like "(objectClass=User)" and a sub-tree scope SearchControls. -----Original Message----- From: Chris Shen [mailto:[EMAIL PROTECTED]] Sent: Thursday, June 06, 2002 3:17 AM To: Tomcat Users List Subject: Active Directory i know this is kind of off the topic, but i am trying to write to an Active Directory using jndi in jsp. However, i have no idea how the active directory schema works. i am just trying to look up users. does anyone have any idea on things such as what the base DN should be, objectClass, and so on? thanks! Chris