User Tools

Site Tools


clear_winbind_cache

Clear Winbind cache


  • Clear all Winbind caches and flush Net cache, always take a backup before deleting.
  • Stop the Winbind service and Samba service (if you have it):
      # service winbind stop
      # service smb stop
  • Clear the Samba Net cache:
      # net cache flush
  • Delete the Winbind caches:
       # rm –f /var/lib/samba/*.tdb
       # rm –f /var/lib/samba/group_mapping.ldb
  • Start the Samba (if you have it) and then Winbind services:
        # service smb start
        # service winbind start
clear_winbind_cache.txt · Last modified: 2020/04/10 17:38 (external edit)