This shows you the differences between two versions of the page.
clear_winbind_cache [2017/05/26 21:59] cbustillo@uclv created |
clear_winbind_cache [2020/04/10 17:38] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== 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): | ||
- | <code> | ||
- | # service winbind stop | ||
- | # service smb stop | ||
- | </code> | ||
- | * Clear the Samba Net cache: | ||
- | <code> | ||
- | # net cache flush | ||
- | </code> | ||
- | * Delete the Winbind caches: | ||
- | <code> | ||
- | # rm –f /var/lib/samba/*.tdb | ||
- | # rm –f /var/lib/samba/group_mapping.ldb | ||
- | </code> | ||
- | * Start the Samba (if you have it) and then Winbind services: | ||
- | <code> | ||
- | # service smb start | ||
- | # service winbind start | ||
- | </code> |