KB045274 – Restricting Domain User Login

Last modified: February 22, 2021
You are here:
  • KB Home
  • KB045274 – Restricting Domain User Login
Estimated reading time: < 1 min

Restricting Domain User Login


This article will outline how to restrict Domain User login when joined to a Active Directory


  • Already joined a Active Directory
    • See this article on how to join a Domain


  • Open “/etc/security/pam_winbind.conf” for editing
  • Add a membership entry specifying one or more SIDs:
    • SIDs or group names should be separated by commas and no spaces. Do not create multiple require_membership_of lines or only the last will be used.
  • Restart winbind
systemctl restart winbind



Was this article helpful?
Dislike 0
Views: 27
Unboxing Racking Storage Drives Cable Setup Power UPS Sizing Remote Access