I have a question.  I support a Windows Server based application that connects to several forms of LDAP, including OpenLDAP. 

Occasionally, for debugging purposes, I need to see if we're on speaking terms with the OpenLDAP server and are getting proper information from it.  

In a DOS window using Active Directory, I'd type >net user john.doe /domain
and get back. 

C:\Users\john.doe.VB>net user john.doe /domain
The request will be processed at a domain controller for domain company.loc.

User name                    john.doe
Full Name                    John Doe
Comment                      Product Support Engineer
User's comment
Country code                 (null)
Account active               Yes
Account expires              Never

Password last set            11/30/2014 7:46.29 AM
Password expires             12/30/2014 7:46.29 AM
Password changeable          11/30/2014 7:46.29 AM
Password required            Yes
User may change password     Yes

Workstations allowed         All
Logon script
User profile
Home directory
Last logon                   12/12/2014 8:06:11 AM

Logon hours allowed          All

Local Group Memberships
Global Group memberships     *FSUSERS              *Network Support Engin
                             *SupportSecGroup      *Domain Users
                             *Network Engineers
The command completed successfully.

Is there a command I can run from a Windows DOS prompt that would show me essentially the same info for OpenLDAP.  When my customers are using OpenLDAP and having issues, I'm usually flying blind. 

Scott Gates
Production Support Engineer 
VBrick Systems, Inc.