AD Management with the Nodinite LDAP Web API
Section titled “AD Management with the Nodinite LDAP Web API”Active Directory infrastructure query operations using the Nodinite LDAP Web API. Discover domain controllers, forests, and global catalog servers programmatically.
✅ Domain Controllers: List all available DCs in the domain
✅ Forest Discovery: Get all domains within the forest
✅ Global Catalog: Query GC servers for cross-domain searches
✅ Read-Only: Infrastructure queries return results in SearchResult
✅ DirectoryEntries: Additional metadata provided for each result
Overview
Section titled “Overview”AD operations are available in the Operations section of the AD record within the request message. These operations are read-only infrastructure queries that do not require a With record for search criteria.
Both XML and JSON formats are supported. See the Request Schema for message structure details.
Operations Summary
Section titled “Operations Summary”| Operation | Description | Parameters |
|---|---|---|
| GetDomainControllers | List all domain controllers | None |
| GetDomainsInForest | List all domains in the forest | None |
| GetGlobalCatalogServers | List all Global Catalog servers | None |
GetDomainControllers
Section titled “GetDomainControllers”The GetDomainControllers operation retrieves all available domain controllers in the domain.
Example: List All Domain Controllers
Section titled “Example: List All Domain Controllers”<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0"> <Batches guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D"> <Batch guid="3B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8E"> <AD> <Operations> <GetDomainControllers/> </Operations> </AD> </Batch> </Batches></ns0:LDAP>Response Details
Section titled “Response Details”The response includes:
- Domain controller names
- DirectoryEntries with detailed properties
- Server roles and capabilities
- Network addresses and configuration
GetDomainsInForest
Section titled “GetDomainsInForest”The GetDomainsInForest operation retrieves all available domains within the Active Directory forest.
Example: List All Domains in the Forest
Section titled “Example: List All Domains in the Forest”<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0"> <Batches guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D"> <Batch guid="3B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8E"> <AD> <Operations> <GetDomainsInForest/> </Operations> </AD> </Batch> </Batches></ns0:LDAP>Use Cases
Section titled “Use Cases”- Multi-Domain Environments: Discover all domains before performing cross-domain operations
- Forest Topology: Map the complete forest structure for documentation
- Configuration Management: Validate domain availability for integration workflows
- Trust Relationships: Identify domains for establishing or verifying trust configurations
GetGlobalCatalogServers
Section titled “GetGlobalCatalogServers”The GetGlobalCatalogServers operation retrieves all servers marked as Global Catalog (GC) in the domain.
Example: List All Global Catalog Servers
Section titled “Example: List All Global Catalog Servers”<ns0:LDAP xmlns:ns0="http://integrationsoftware.se/BizTalk/Adapters/LDAP/Request/1.0"> <Batches guid="2B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8D"> <Batch guid="3B25B9E6-4AF2-4094-9AE7-E1E4C99B6C8E"> <AD> <Operations> <GetGlobalCatalogServers/> </Operations> </AD> </Batch> </Batches></ns0:LDAP>Global Catalog Overview
Section titled “Global Catalog Overview”Global Catalog servers contain a partial replica of all objects in the forest and are essential for:
- Universal group membership queries
- Cross-domain user authentication
- Forest-wide searches
- User Principal Name (UPN) lookups
Common Use Cases
Section titled “Common Use Cases”Infrastructure Health Monitoring
Section titled “Infrastructure Health Monitoring”Use GetDomainControllers and GetGlobalCatalogServers to verify availability of critical AD infrastructure before executing operations.
Load Balancing & Failover
Section titled “Load Balancing & Failover”Query available domain controllers and GC servers to implement load balancing or failover logic in your integration solutions.
Forest-Wide Operations
Section titled “Forest-Wide Operations”Combine GetDomainsInForest with user/group operations to perform cross-domain queries and modifications.
Documentation & Auditing
Section titled “Documentation & Auditing”Automatically generate infrastructure documentation by periodically querying AD topology and tracking changes over time.
Next Steps
Section titled “ Next Steps”- Review the Request Schema for complete message structure
- Explore the Response Schema for understanding operation results
- Learn about User Management for cross-domain user operations
- Check Logging for troubleshooting infrastructure queries