![无法使用 pdbedit 导出 samba 用户。如何备份我的 samba 用户?](https://linux22.com/image/112307/%E6%97%A0%E6%B3%95%E4%BD%BF%E7%94%A8%20pdbedit%20%E5%AF%BC%E5%87%BA%20samba%20%E7%94%A8%E6%88%B7%E3%80%82%E5%A6%82%E4%BD%95%E5%A4%87%E4%BB%BD%E6%88%91%E7%9A%84%20samba%20%E7%94%A8%E6%88%B7%EF%BC%9F.png)
我已经创建了 samba 用户pi
并在此处验证了这一点:
raspberrypi:~$ sudo pdbedit -L
pi:1000:
当我尝试将其导出到文件时,samba-users.backup
出现此错误:
raspberrypi:~/pi$ sudo pdbedit -e smbpasswd:samba-users.backup
build_sam_pass: Failing attempt to store user with non-uid based user RID.
Importing account for pi...failed
我怎样才能让它发挥作用?