
kdpant asked a question.
Hi Guys,
We need to allow either TCP ports 389 or 636 and UDP port 161 towards ADs in order to enable AD Device & User discovery for domains via inventory server or service gateways, right?
In light of the foregoing, can somebody assist me in learning more about the (detailed) requirements of Port 161 for AD Device and User discovery?
Actually, AD Discovery was not working in our environment, so we created a support case with Snow, who suggested that Port 161 be allowed to connect with AD server from the inventory server for AD Discovery.
We've been talking about it with our internal team about implementing it for a while, but there have been a lot of questions from the infrastructure and security teams about "Why UDP Port 161 needs to be open for AD Discovery to work?" if LDAP ports are already allowed.
Below is one of specific question from security team:
"What specific information do you need from Active Directory that is not available from the global catalog port or secure ldap ports?"
Is there anyone who has had a similar problem with AD discovery, and if so, how did they fix it or deal with it in their environment, or have they had any problems with it?
Awaiting for valuable suggestions & comments.
Kind regards,
Kishan Pant
In terms of the AD lookups going across domains it's been so hit and miss on the SIS working.
If the AD account used to run the SIS service on the gateway server is configured right and in the local admins group of the SIS server it usually allows and takes any extra LDAP lookups you create in the INV SMACC.
To test I normally ask a customer to use LDAP Explorer with that account from the SIS server to try browse the other domains - find it easier to explain than PowerShell.
I would add I normally end up having to have separate SIS servers per domain simply to do these LDAP lookups even if no agents will use the gateway server to relay data. This is the only reliable way I've got the AD discovery to work across domains.
Though looking over that KB article I have no idea how they came to produce it as there is no link between SNMP and LDAP and simple googles should show that to the tech that wrote that article. Totally different protocols