[PR PATCH] Ntacls backup and restore

github at samba.org github at samba.org
Thu Jun 14 03:36:10 UTC 2018


There is a new pull request by catalyst-joe-guo against master on the Samba Samba Github repository

https://github.com/catalyst-joe-guo/samba ntacls_backup_and_restore
https://github.com/samba-team/samba/pull/198

Ntacls backup and restore
Add following functions to samba.ntacls.py:

- backup_online: backup files and ntacls for a service/share to a tarfile via smb connection with pysmb API
- backup_offline: backup files and ntacls for a service/share to a tarfile via disk path with pysmbd API
- backup_restore: restore either of the above backup from a tarfile with pysmbd API

To make these work, extended `pysmb.c` and `pysmbd.c`.

Tests added in `samba.tests.ntacls.py`.

gitlab ci passed at:

https://gitlab.com/catalyst-samba/samba/pipelines/23818795

A patch file from https://github.com/samba-team/samba/pull/198.patch is attached
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: github-pr-ntacls_backup_and_restore-198.patch
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20180614/5f3e2556/github-pr-ntacls_backup_and_restore-198.patch>


More information about the samba-technical mailing list