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