Bonjour,
Lors de l’exécution du script de synchronisation le fichier technique.log affiche l’erreur suivante « LDAP bind faild:Authentication faild [Synchronisation LDAP] » voici mes fichiers
config.json
{
"config": {
"lang": "fr",
"applicationName": "Maarch Courrier SEREPT",
"cookieTime": 10080,
"timezone": "Europe\/Paris",
"maarchDirectory": "\/var\/www\/html\/MaarchCourrier\/",
"customID": "serept-maarch",
"maarchUrl": "https://10.0.20.125/MaarchCourrier/serept-maarch/",
"lockAdvancedPrivileges": true
},
"database": [
{
"server": "localhost",
"port": "5432",
"type": "POSTGRESQL",
"name": "serept-maarch",
"user": "maarch",
"password": "****"
}
],
"signatureBook": {
"userWS": "superadmin",
"passwordWS": "********",
"validatedStatus": "EENV",
"validatedStatusOnlyVisa": "EENV",
"refusedStatus": "REJ_SIGN",
"validatedStatusAnnot": "COU",
"refusedStatusAnnot": "RET"
},
"exportSeda": {
"sae": "MaarchRM",
"token": "phdF9WkJuTKkDuPXoqDZuCFEQT7En7YqsVROsdD1HoNZV7jD5+XyCtKbhx0Chb4s3skokalo0wEn48DE3M4kGrAceH0\/XFbyLZVRoVOO+Y\/wxyRdE1QJleI8yijEfGut",
"urlSAEService": "https:\/\/demo-ap.maarchrm.com",
"senderOrgRegNumber": "org_987654321_DGS_SA",
"accessRuleCode": "AR039",
"certificateSSL": "",
"userAgent": "service",
"statusReplyReceived": "REPLY_SEDA",
"statusReplyRejected": "REPLY_SEDA",
"statusMailToPurge": "REPLY_SEDA",
"externalSAE": {
"retentionRules": [
{
"id": "id1",
"label": "label1"
}
],
"archiveEntities": [
{
"id": "id1",
"label": "label1"
}
],
"archivalAgreements": [
{
"id": "id1",
"label": "label1"
}
]
},
"M2M": {
"gec": "maarch_courrier"
}
},
"log": {
"enable": true,
"dateTimeFormat": "d\/m\/Y H:i:s",
"logFonctionnel": {
"level": "ERROR",
"file": ".\/fonctionnel.log",
"maxFileSize": "10MB",
"maxBackupFiles": 10,
"lineFormat": "[%datetime%] %level_name% [%extra.process_id%] [%channel%][%WHERE%][%ID%][%HOW%][%USER%][%WHAT%][%ID_MODULE%][%REMOTE_IP%]\n"
},
"logTechnique": {
"level": "ERROR",
"file": ".\/technique.log",
"maxFileSize": "10MB",
"maxBackupFiles": 10,
"lineFormat": "[%datetime%] %level_name% [%extra.process_id%] [%channel%][%WHERE%][%ID%][%HOW%][%USER%][%WHAT%][%ID_MODULE%][%REMOTE_IP%]\n"
},
"queries": {
"level": "ERROR",
"file": ".\/queries.log",
"maxFileSize": "10MB",
"maxBackupFiles": 10,
"lineFormat": "[%datetime%] %level_name% [%extra.process_id%] [%channel%][%QUERY%][%DATA%][%EXCEPTION%]\n"
}
}
}
config.xml
<?xml version="1.0" encoding="utf-8"?>
<root>
<config>
<ldap>
<!-- Appel la class_<type_ldap> en fonction du type d'annuaire -->
<type_ldap>adLDAP</type_ldap>
<!-- nom / ip du serveur ldap -->
<domain>10.0.20.12</domain>
<!-- base DN (que pour openLDAP, ne pas remplir si adLDAP) -->
<baseDN></baseDN>
<!-- prefixe les logins si saisi -->
<prefix_login>serept_1</prefix_login>
<!-- suffix les logins si saisi -->
<suffix_login>@serept.com.tn</suffix_login>
<!-- cryptage de la communication ( true or false) -->
<ssl>false</ssl>
<standardConnect>true</standardConnect>
<!-- login admnistrateur du domaine (uniquement pour la synchro) -->
<login_admin>*******</login_admin>
<!-- mot de passe administrateur annuaire ldap (uniquement pour la synchro) -->
<pass>*********</pass>
</ldap>
</config>
<!-- Synchronisation Ldap -->
<userWS>superadmin</userWS>
<passwordWS>********</passwordWS>
<synchronizeUsers>true</synchronizeUsers>
<synchronizeEntities>true</synchronizeEntities>
<mapping>
<user>
<user_id>samaccountname</user_id>
<firstname>givenname</firstname>
<lastname>sn</lastname>
<phone>telephonenumber</phone>
<mail>mail</mail>
<user_entity>memberof</user_entity>
<defaultEntity>PJS</defaultEntity>
</user>
<entity>
<entity_id>objectguid</entity_id>
<entity_label>samaccountname</entity_label>
<parent_entity_id>memberof</parent_entity_id>
</entity>
</mapping>
<filter>
<!-- Chemin ou se trouve les utilisateurs de l'application -->
<dn id="OU=USERS,OU=BASE,DC=serept,DC=local" type="users">
<user>(cn=*)</user>
</dn>
<!-- Chemin ou se trouve les entités de l'application -->
<dn id="OU=Services,DC=serept,DC=local" type="entities">
<user>(cn=*)</user>
</dn>
</filter>
</root>
config.json
je suis bloquée
merci de répondre en urgence