[Samba] errors restoring samba

Rowland penny rpenny at samba.org
Tue Jul 23 12:54:01 UTC 2019


On 23/07/2019 13:17, Adam Weremczuk via samba wrote:
> On 23/07/19 11:15, Adam Weremczuk via samba wrote:
>
>> So I have over a hundred of permissions discrepancies to manually 
>> reconcile before I can attempt another roll back :(
>
> The best way to clone permissions appears to be:
>
> getfacl -R samba > file
> setfacl --restore file samba
>
> Unfortunately I'm getting a bunch of errors on ACL restore:
>
> setfacl: samba/winbindd_privileged/pipe: No such file or directory
> setfacl: samba/ntp_signd/socket: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.0: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27087: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27089: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27084: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27090: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27083: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27088.30: No such file or 
> directory
> setfacl: samba/private/smbd.tmp/msg/msg.27082: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27088: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27091: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27079: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27084.29: No such file or 
> directory
> setfacl: samba/private/smbd.tmp/msg/msg.27085: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27086: No such file or directory
> setfacl: samba/private/smbd.tmp/msg/msg.27080: No such file or directory
> setfacl: samba/private/ldapi: No such file or directory
> setfacl: samba/private/ldap_priv/ldapi: No such file or directory
>
> None of these are regular files or folders as they haven't been picked 
> up by "find -type f -o -type d".
>
> QUESTION: Do I need any of the above in the samba restored folder 
> before starting samba?
>
>
No, you only need the .ldb and .tdb files

Your problems stem from using an unsupported (by Samba) backup system. I 
am going to send you a couple of bash scripts, I haven't used them in 
sometime, but I hope they can help you identify what you actually need 
to backup and what to restore.

Rowland




More information about the samba mailing list