doc:appunti:linux:lezioni:samba_domain
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| doc:appunti:linux:lezioni:samba_domain [2017/11/20 15:23] – [Login/password diversi per cartelle sullo stesso server] niccolo | doc:appunti:linux:lezioni:samba_domain [2023/12/20 16:11] (current) – [Backup e restore password Samba] niccolo | ||
|---|---|---|---|
| Line 115: | Line 115: | ||
| mount -o remount, | mount -o remount, | ||
| quotacheck --user --group --create-files /home | quotacheck --user --group --create-files /home | ||
| + | quotaon /home | ||
| </ | </ | ||
| Line 377: | Line 378: | ||
| L' | L' | ||
| + | |||
| + | ==== Backup e restore password Samba ==== | ||
| + | |||
| + | È possibile fare un dump (**export**) di tutti gli account Samba esistenti (e le relative password) in un file: | ||
| + | |||
| + | < | ||
| + | pdbedit -e smbpasswd:/ | ||
| + | </ | ||
| + | |||
| + | Per recuperare gli account e le password si esegue l' | ||
| + | |||
| + | < | ||
| + | pdbedit -i smbpasswd:/ | ||
| + | </ | ||
| + | |||
| + | Verificare lo UID nel file di esportazione: | ||
| ===== Troubleshooting ===== | ===== Troubleshooting ===== | ||
doc/appunti/linux/lezioni/samba_domain.1511187827.txt.gz · Last modified: by niccolo
