You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On the LDAP Update node the replace and delete operations don't allow for null values. The LDAPts module allows you for a null value to be specified on either of these operations to clear the attribute (I created a crude script trying this and it worked as intended). I think for the remove operation, it probably makes sense to be able specify a value as a sort of "filter" but still allow the user to clear the attribute regardless of whether they know the current value or not.
Currently. if I don't specify a value on the remove operation, LDAP (Active Directory) returns an error due to it trying to update the attribute with an empty string. If I use a null expression, I get an error from n8n stating argument must be a string (was: object) [item 0].
To Reproduce
Set up LDAP node with credentials
Set to Update operation
Specify DN of user to update
Select Remove under Update Attributes and specify attribute to clear.
Leave blank or specify null expression.
Expected behavior
On the Remove operation, the attribute is cleared without specifying a value.
On the Replace operation, the attribute is cleared when the value isn't specified or is null.
Operating System
Debian 12
n8n Version
1.75.2
Node.js Version
N/A
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered:
Bug Description
On the LDAP Update node the replace and delete operations don't allow for null values. The LDAPts module allows you for a null value to be specified on either of these operations to clear the attribute (I created a crude script trying this and it worked as intended). I think for the remove operation, it probably makes sense to be able specify a value as a sort of "filter" but still allow the user to clear the attribute regardless of whether they know the current value or not.
Currently. if I don't specify a value on the remove operation, LDAP (Active Directory) returns an error due to it trying to update the attribute with an empty string. If I use a null expression, I get an error from n8n stating
argument must be a string (was: object) [item 0]
.To Reproduce
Expected behavior
On the Remove operation, the attribute is cleared without specifying a value.
On the Replace operation, the attribute is cleared when the value isn't specified or is null.
Operating System
Debian 12
n8n Version
1.75.2
Node.js Version
N/A
Database
SQLite (default)
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: