pdbedit.managed is broken
This commit is contained in:
@@ -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 %}
|
||||||
|
|||||||
Reference in New Issue
Block a user