Bug in the LDAP Search nodes

Describe the problem/error/question

Hello,

I have a problem with an LDAP node in search mode.
The ‘Search For’ and ‘Attribute’ fields no longer work, they always appear as ‘undefined’ regardless of the value assigned. When it worked, both values were selectable from a list of choices.

{
“nodes”: [
{
“parameters”: {
“nodeDebug”: true,
“baseDN”: “=OU=Utilisateurs,OU=Building Partners,DC=BUILDINGPARTNERS,DC=LOCAL”,
“searchFor”: “”,
“attribute”: “={{ $json.CN }}”,
“searchText”: “={{ $json[‘Prénom’] }} {{ $json.Nom }}”,
“options”: {}
},
“type”: “n8n-nodes-base.ldap”,
“typeVersion”: 1,
“position”: [
-2040,
100
],
“id”: “7512d049-1ded-4a24-b185-f1440192b2bb”,
“name”: “Existe déjà (AD)?”,
“alwaysOutputData”: false,
“credentials”: {
“ldap”: {
“id”: “i08JJbLXY2fA47Bc”,
“name”: “BP NEW AD”
}
}
}
],
“connections”: {
“Existe déjà (AD)?”: {
“main”: [

]
}
},
“pinData”: {},
“meta”: {
“templateCredsSetupCompleted”: true,
“instanceId”: “b6751ec2da328fa8324a48f212dda766b44e456c89e9345b84f0fe645697d283”
}
}

Share the output returned by the last node

NodeOperationError: Missing paren: (&undefined(undefined=Maxime Test)). Full string: (&undefined(undefined=Maxime Test))
    at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_12b981d6b49d407a163f4d5244314033/node_modules/n8n-nodes-base/nodes/Ldap/Ldap.node.ts:431:12)
    at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1185:9)
    at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1534:27
    at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@[email protected][email protected][email protected]_/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2098:11

Information on your n8n setup

  • n8n version: 1.94.1
  • Database (default: SQLite): Default
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • **Operating system:**Debian12

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.