When querying LDAP (Lightweight Directory Access Protocol), the information typically returned includes:
- Network directory information including groups, users, and computers: LDAP is primarily used for accessing and managing directory information services. It can provide details about user accounts, group memberships, organizational units, and computer objects within a network. This includes attributes such as usernames, email addresses, group affiliations, and other account details.
The other types of information you've mentioned are not typically retrieved through an LDAP query:
- Port and service version information, vulnerabilities on the remote system, and information about running services are generally obtained through other network scanning techniques or tools, such as port scanning (e.g., using Nmap) or vulnerability assessment tools. LDAP specifically focuses on directory services, so it does not provide direct information about open ports, service versions, or vulnerabilities of the system.
In summary, the primary type of information obtained from an LDAP query is related to directory services, including user and group information.