pdbedit.managed is broken

This commit is contained in:
2025-05-05 01:08:19 -04:00
parent 1726c412ce
commit e2b71b8ae0

View File

@@ -17,11 +17,11 @@ smbd:
- template: jinja - template: jinja
- check_cmd: /usr/bin/testparm -d 0 -s - check_cmd: /usr/bin/testparm -d 0 -s
{# generate these with print(hashlib.new('md4', "password".encode('utf-16le')).hexdigest()) #} #{# generate these with print(hashlib.new('md4', "password".encode('utf-16le')).hexdigest()) #}
{% for user, passw in salt.pillar.get('samba:users', {}).items() %} #{% for user, passw in salt.pillar.get('samba:users', {}).items() %}
samba_{{user}}: #samba_{{user}}:
pdbedit.managed: # pdbedit.managed:
- name: {{user}} # - name: {{user}}
- password: {{passw}} # - password: {{passw}}
- password_hashed: True # - password_hashed: True
{% endfor %} #{% endfor %}