I was able to successfully get clearpass and JAMF to integrate and synch to the endpoint database. Unfortunately, I am seeing twice as many endpoints as I do JAMF devices. This is most likely because in my extension attributes I am saying to list all the MAC address as unique endpoint entries. All of my MAC devices have a VPN adapter associated with them so it would be better not to use MAC addresses as the identifier. Here is the extension attribute I am using now:
#!/bin/sh
result=`/usr/sbin/networksetup -listallhardwareports | /usr/bin/awk '/Ethernet Address/ {printf "%s%s",sep,$3; sep="|"} END {print ""}'`
echo "<result>$result</result>"
Do you have a sample script that will allow me to use serial number instead of MAC address? I was trying to edit the above script with this but its not working:
#!/bin/sh
result=`/usr/bin/awk -F "<serial_number>|</serial_number>|<name>|</name>" '{ print $4,$2 }' )
Thanks for any help you can provide.
------------------------------
abraham
------------------------------