list domains in an ActiveDirectory forest
27
Oct
to list all available domains in an AD forest (e.g. to figure out their NetBIOS names and/or map them to DNS-FQDN), have a look at the search base “CN=Partitions,CN=Configuration,“, e.g.: ldapsearch -x \ -b “CN=Partitions,CN=Configuration,dc=my,dc=domain,dc=local” \ -D “ldap@my.domain.local” \ -h … Read More »