mirror of
https://github.com/samba-team/samba.git
synced 2025-02-14 01:57:53 +03:00
03c7d1e91e
By default we include all the domain's secrets in the backup file. This patch adds an extra option to exclude these secrets. In particular, this is for the use case of creating a lab domain (where you might not feel comfortable with the secrets for all your users being present). Mostly this just involves passing the correct option to the join/clone. I've also made sure that a password is also set for the Admin user (samba does seem to start up without one set, but this behaviour is closer to what happens during a provision). The tests have been extended to use the new option, and to assert that secrets are/aren't included as expected for some of the builtin testenv users. Signed-off-by: Tim Beale <timbeale@catalyst.net.nz> Reviewed-by: Gary Lockyer <gary@catalyst.net.nz> Reviewed-by: Andrew Bartlett <abartlet@samba.org>