remplacement displayName par cn

This commit is contained in:
Navas 2024-03-17 19:45:17 +01:00
parent 4e8c1fae76
commit 8e1575c27a
2 changed files with 2 additions and 3 deletions

View file

@ -12,7 +12,7 @@
- uid
- mail
- memberOf
- displayName
- cn
- givenName
- sn
register: ldap_users

View file

@ -2,11 +2,10 @@
"subject" : "acct:{{ acct }}",
"properties" :
{
"http://packetizer.com/ns/name" : "{{ user.displayName }}"
"http://packetizer.com/ns/name" : "{{ user.cn }}"
},
"aliases" :
[
"https://mastodon.libretic.fr/users/{{ user.uid | replace('.', '') }}"
],
"links" :