Smartcard Support

system_profiler SPSmartCardsDataType Smart card logging sudo defaults write /Library/Preferences/com.apple.security.smartcard Logging -bool true Links https://support.apple.com/guide/deployment/advanced-smart-card-options-dep7b2ede1e3/web https://gist.github.com/owalkenhorst/02d6d66215187016cb0e634a85055381 Slides http://macadmins.psu.edu/files/2017/07/psumac2017-120-macOS-and-Smart-Cards-2d0v717.pdf

netstat to find out what domain controller a mac is authenticated against

netstat -a | grep ldap Link: https://acdesigntech.wordpress.com/2013/03/05/use-netstat-to-find-out-what-domain-controller-a-mac-is-authenticated-against/ https://acdesigntech.wordpress.com/2011/11/18/use-dscl-to-find-out-what-domain-controller-a-mac-is-authenticated-against/ https://community.jamf.com/t5/jamf-pro/question-how-to-force-a-mac-to-bind-to-specific-dc-within-the-ad/m-p/192225

mdfind

NAME mdfind -- finds files matching a given query SYNOPSIS mdfind [-live] [-count] [-onlyin directory] [-name fileName] query DESCRIPTION The mdfind command consults the central metadata store and returns a…