Join the #BuildWithBuildAgent Challenge! Get recognized, earn exclusive swag, and inspire the ServiceNow Community with what you can build using Build Agent.  Join the Challenge.

extend discovery to query ldap for server attributes

CBartram
Tera Contributor

I need to extend our discovery process to include a call out to our enterprise ldap server to retrieve various elements specific to the server (owner, description, lifecycle, even the name of the app/service they belong to). Trying to create a discovery pattern extension using the "ldap query" call but there is nowhere on the form to provide the ldap credentials (a simple username/pass combo for a readonly account in my case). None of the standard "credential types" seem to apply?

Where/how do I provide the (readonly) ldap username+password credentials?

More importantly I suppose- is there a better/easier way to link all our servers to a "lookup" function (linux to LDAP and Windows to AD) where we grab those kind of attributes as they're discovered?

*Note in my case a host-based (command line) ldapsearch command isn't viable as some servers (like in the DMZ) can't actually reach the authoritative ldap servers with all the configuration data on them.

5 REPLIES 5

Daniel Borkowi1
Mega Sage

Sometimes the functionality of ServiceNow Pattern Operations are quite limited. I can recommend to add this requirement for the LDAP query on the Idea Portal of ServiceNow. If you share the link, I will upvote it.