nlu_dn_attribut permit to choose DN attribute

This commit is contained in:
2024-05-13 23:50:19 +02:00
parent 15fe4a5eb0
commit 88828eed33
3 changed files with 2 additions and 4 deletions

View File

@@ -12,7 +12,7 @@ Role Variables
--------------
org: no default
ldap_base - from group variables
nlu_dn_attribute - default firstname can be email
nlu_dn_attribute - TODO: defaults override host var in this case ? firstname or email
binddn - from group variables
bindpwd - from group variables
file : default account.csv csv file containing user to create:
@@ -39,7 +39,7 @@ Including an example of how to use your role (for instance, with variables passe
user: tom
become: false
roles:
- { role: tco.new_ldap_user, org=plop.fr,file: ~/Documents/Opendoor/Clients/Plop/account.csv }
- { role: tco.new_ldap_user, org=plop.fr,file: ~/Documents/Opendoor/Clients/Plop/account.csv , nlu_dn_attribute: email }
License
-------