Matching mail suffix between PARTAGE and FD
Matching mail suffix between PARTAGE and FD
Description
When adding or modifying, partage information related to Sympa Alias, it doesn't work because PARTAGE receive a non-valid request
Distribution Name and Version
Debian Stretch
FusionDirectory Version
ii fusiondirectory 1.3-2~jenkinsbuild28 all Web Based LDAP Administration Program
Plugin with the defect
ii fusiondirectory-plugin-renater-partage 1.3-2~jenkinsbuild28 all Renater partage integration plugin for FusionDirectory
ii fusiondirectory-plugin-renater-partage-schema 1.3-2~jenkinsbuild28 all LDAP schema for FusionDirectory renater partage plugin
PHP version used
ii php7.0 7.0.30-0+deb9u1 all server-side,
Origin of php packages
From deb :
php7.0:
Installé : 7.0.30-0+deb9u1
Candidat : 7.0.30-0+deb9u1
Table de version :
*** 7.0.30-0+deb9u1 500
500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages
500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages
100 /var/lib/dpkg/status
Steps to Reproduce
- add a sympa alias list without partage information
- Add partage information
- Wait the error
Expected behavior:
Partage information must be created / updated on Partage Infra
Actual behavior:
Error : on browser
Impossible de mettre à jour le compte : Impossible de se connecter à https://api.partage.renater.fr/service/domain/: fopen(https://api.partage.renater.fr/service/domain//CreateGroup/22f97c76cf9a11405cdb5e740fc0aad3): failed to open stream: HTTP request failed! HTTP/1.1 403 Forbidden
with debug :
DEBUG[512] (/usr/share/fusiondirectory/plugins/personal/mail/mail-methods/class_mail-methods-renater-partage.inc:query():85) - MAIL: Command: 'CreateGroup'
DEBUG[512] (/usr/share/fusiondirectory/plugins/personal/mail/mail-methods/class_mail-methods-renater-partage.inc:query():86) - MAIL: Query: 'name=fakelist%40lists.irstea.fr&description=liste+de+fake&displayName=FAKE+LIST&zimbraMailStatus=enabled&zimbraHideInGal=TRUE&zimbraDistributionListSendShareMessageToNewMembers=FALSE'
DEBUG[512] (/usr/share/fusiondirectory/plugins/personal/mail/mail-methods/class_mail-methods-renater-partage.inc:query():142) - MAIL: No Answer:
Reproduces how often: 100%
Additional Information
Basically :
- our partage domain is : company.fr ( all created object as user, group .. MUST have the mail suffix @company.fr
- our Sympa domain list is : lists.company.fr
We want to have an alias for 2 reasons
- appearing lists in global catalogue of PARTAGE
- have an alias mylist@company.fr to mylist@lists.company.fr so the group created on PARTAGE side MUST have the suffix @company.fr and a forwarding address to mylist@lists.company.fr
On debug we see : MAIL: Query: 'name=fakelist%40lists.irstea.fr&descri ....
'name=fakelist%40lists.irstea.fr isn"t correct !! It must be name=fakelist%40irstea.fr
the mail domain must be taken from the PARTAGE COS used.
After creation of this group a new request is needed to add as member of fakelist%40irstea.fr the adress contain in CN field : fakelist%40lists.irstea.fr