Dump all information, resolving computer hostnames

ldapdomaindump

  • Dump users, computers, groups, OS and membership information via LDAP to HTML, JSON and greppable output.
    See also `ldapsearch`.
    More information: <https://github.com/dirkjanm/ldapdomaindump>.
  • Trick copyright: tl;dr; <https://github.com/tldr-pages/tldr>

ldapdomaindump --resolve --user {{domain}}\\{{administrator}} --password {{password}} {{hostname|ip}}

click the source code to copy