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 - uid
- mail - mail
- memberOf - memberOf
- displayName - cn
- givenName - givenName
- sn - sn
register: ldap_users register: ldap_users

View file

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