community.general.ldap_attrs attributes
This commit is contained in:
parent
704585859f
commit
4a3908827d
|
@ -10,10 +10,10 @@
|
||||||
|
|
||||||
- name: fix acl
|
- name: fix acl
|
||||||
community.general.ldap_attrs:
|
community.general.ldap_attrs:
|
||||||
name: olcAccess
|
|
||||||
dn: olcDatabase={1}mdb,cn=config
|
dn: olcDatabase={1}mdb,cn=config
|
||||||
state: exact
|
state: exact
|
||||||
values:
|
attributes:
|
||||||
|
olcAccess:
|
||||||
- >-
|
- >-
|
||||||
{0}to attrs=userPassword,shadowLastChange
|
{0}to attrs=userPassword,shadowLastChange
|
||||||
by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth write
|
by dn.exact=gidNumber=0+uidNumber=0,cn=peercred,cn=external,cn=auth write
|
||||||
|
@ -29,20 +29,16 @@
|
||||||
- name: set crypto
|
- name: set crypto
|
||||||
community.general.ldap_attrs:
|
community.general.ldap_attrs:
|
||||||
dn: cn=config
|
dn: cn=config
|
||||||
name: "{{item.key}}"
|
|
||||||
state: exact
|
state: exact
|
||||||
values: "{{item.value}}"
|
attributes:
|
||||||
with_dict:
|
|
||||||
olcPasswordHash: '{CRYPT}'
|
olcPasswordHash: '{CRYPT}'
|
||||||
olcPasswordCryptSaltFormat: "$6$rounds=8000$%.16s"
|
olcPasswordCryptSaltFormat: "$6$rounds=8000$%.16s"
|
||||||
|
|
||||||
- name: set base DN
|
- name: set base DN
|
||||||
community.general.ldap_attrs:
|
community.general.ldap_attrs:
|
||||||
dn: 'olcDatabase={{"{"+(ldap_database_index|default(1)|string)+"}"}}mdb,cn=config'
|
dn: 'olcDatabase={{"{"+(ldap_database_index|default(1)|string)+"}"}}mdb,cn=config'
|
||||||
name: "{{item.key}}"
|
|
||||||
state: exact
|
state: exact
|
||||||
values: "{{item.value}}"
|
attributes:
|
||||||
with_dict:
|
|
||||||
olcSuffix: "{{ldap_basedn}}"
|
olcSuffix: "{{ldap_basedn}}"
|
||||||
olcRootDN: "cn=root,{{ldap_basedn}}"
|
olcRootDN: "cn=root,{{ldap_basedn}}"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue