+{% if busy %}
+
+ {{ busy | length }} PC{{ 's' if busy | length != 1 }} imaging now ({{ busy[:5] | join(', ') }}{{ ', ...' if busy | length > 5 }}). A password change now breaks their next share connection, so it is refused unless you tick Change anyway.
+
+{% endif %}
+
+
+ Accounts
+
Passwords: {{ rule }}. Saving changes Samba and every file that carries the password (boot.wim, the PXE boot menu, the Blancco preferences) at once. They are never shown here.
+ {% for a in accounts %}
+
+
+ {{ a.account }}
+ {% if a.default %}{{ ui.chip('Default password', 'warn') }}{% else %}{{ ui.chip('Site password', 'ok') }}{% endif %}
+ {{ used_by[a.account] }}
+
+
+
+ {% endfor %}
+
+
+
+ Where else to change it
+
+ - pxe-upload: anyone who maps the shares by hand, and Upload-Image.ps1 (it asks for the password).
+ - The server's own Linux login (pxe) is not set here: it is pxe_admin_password in site-vars.yml.
+
+
+
+{% endblock %}
diff --git a/webapp/tests/test_share_accounts.py b/webapp/tests/test_share_accounts.py
new file mode 100644
index 0000000..00c6007
--- /dev/null
+++ b/webapp/tests/test_share_accounts.py
@@ -0,0 +1,300 @@
+"""Tools > Share accounts: the pxe-upload, blancco and clonezilla Samba
+passwords, and every file each one goes into.
+
+Run from the webapp folder:
+ PYTHONPATH=.: