I am wanting to create a custom Service in Clearpass Policy Manager. The policy will check if a device is in the MacTrac device database and give an appropriate role if found, if not it will look in the Guest cached devices database, and give a guest role if found. Lastly it will captive portal the device if neither of these conditions are met. I am familar with LDAP connections, but the internal databases like guest repository and insight database, are a little fuzzy to me.
What call would I make to determine if a device is in the Mactrac database?
What call would I then make to determine if the device is cached in the guest devices database?
Do I need to do anything to properly expire guest devices in Clearpass policy manager? or is that done is Clearpass Guest?
Thanks