By Fatskills Exam Guides Team — the exam nerds behind 28,500+ quizzes and 2.1M practice questions across 500+ global exams.
(LDAP, Kerberos, RADIUS, TACACS+, SAML, OAuth, OpenID Connect)
Authentication protocols are the gatekeepers of your network. They decide who gets in, what they can access, and how securely they prove their identity. If you mess this up, you’re one misconfigured firewall away from a breach (e.g., SolarWinds, Colonial Pipeline).
Real-world scenario: You’re a sysadmin at a mid-sized company. Your CISO just mandated MFA for all remote access, and your legacy VPN (RADIUS) doesn’t support modern auth. Meanwhile, your dev team is screaming because their CI/CD pipeline (OAuth) keeps failing with "invalid token" errors. You need to fix this yesterday.
This guide gives you: ? CLI commands to test and debug each protocol. ? Configuration snippets for real-world deployments. ? Exam traps (e.g., "TACACS+ encrypts the entire packet, RADIUS only encrypts the password"). ? Production pitfalls (e.g., "Kerberos fails if your domain controller’s clock drifts >5 minutes").
ldap://
jdoe
kinit
aud
Prerequisites: - Windows Server 2019/2022 with Active Directory Domain Services (AD DS) installed. - A valid SSL certificate (from an internal CA or public CA like DigiCert).
# Install AD CS (run as Administrator) Install-WindowsFeature AD-Certificate, ADCS-Cert-Authority -IncludeManagementTools
Get-WindowsFeature AD-Certificate
Installed
certsrv.msc
# Request the certificate (replace DC_NAME with your domain controller) certreq -submit -attrib "CertificateTemplate:LDAPSCertificate" C:\ldaps.inf
certlm.msc
# Restart the AD DS service to apply LDAPS Restart-Service NTDS -Force
ldp.exe
Prerequisites: - A RADIUS server (e.g., FreeRADIUS on Ubuntu). - A client device (e.g., a laptop or switch).
sudo apt update && sudo apt install freeradius -y
sudo nano /etc/freeradius/3.0/users
Add:
testuser Cleartext-Password := "P@ssw0rd" Service-Type = Framed-User, Framed-Protocol = PPP
sudo freeradius -X
Ready to process requests.
# Install radtest (part of freeradius-utils) sudo apt install freeradius-utils -y # Test authentication (replace SECRET with your RADIUS secret) radtest testuser P@ssw0rd localhost 0 SECRET
Received Access-Accept
/var/log/freeradius/radius.log
Prerequisites: - Azure AD tenant (free tier works). - Salesforce org (developer edition).
https://saml.salesforce.com
https://yourdomain.my.salesforce.com?so=00D...
user.userprincipalname
http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier
azure-ad-metadata.xml
AzureAD_SSO
https://sts.windows.net/...
https://yourdomain.my.salesforce.com
exp
radius1:1812,radius2:1812
Event ID 4771
w32tm /resync
Access-Reject
TACACS+ (full encryption)
"Which protocol is used for SSO in cloud apps?"
SAML (enterprise SSO) or OIDC (modern apps)
"Which port does LDAPS use?"
636 (LDAPS)
"What’s the difference between OAuth and OpenID Connect?"
You’re setting up a VPN for remote workers. Your boss says:
"We need MFA, but our Cisco ASA only supports RADIUS. How do we make this work?"
Your task:1. Configure FreeRADIUS to proxy auth to Google Authenticator (TOTP).2. Test it with radtest.
radtest
bash sudo apt install freeradius libpam-google-authenticator -y
/etc/freeradius/3.0/users
DEFAULT Auth-Type := PAM
/etc/pam.d/radiusd
auth required pam_google_authenticator.so
google-authenticator
bash radtest username 123456 localhost 0 testing123
ldapsearch -x -H ldap://server
ldapsearch -x -H ldaps://server
kinit username
radtest user pass localhost 0 secret
tacacs+ test user pass
curl -H "Authorization: Bearer token"
/.well-known/openid-configuration
Final Tip: Bookmark this guide. The next time your VPN breaks or SSO fails, you’ll know exactly where to look. ?
Join 4M+ learners. Unlock unlimited quizzes, wrong-answer tracking, flashcards + reminders, study guides, and 1-on-1 challenges.