cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

LDAP Delete Attribute - Clarification

Henchway
Contributor

I just want to verify the function of this snap, since I donโ€™t have a staging Active directory available in which i could test this.

The documentation states that it โ€˜will completely remove the attribute itselfโ€™, which isnโ€™t fully clear to me, could it actually remove an attribute from the AD Schema or does this just mean it will remove any value that it will find for that attribute?

Best regards
Thomas

1 ACCEPTED SOLUTION

mbowen
Employee
Employee

Hi @Henchway :

There is also a LDAP Delete Attibute Value snap which will delete just the values for the attribute.

It looks like the LDAP Delete Attribute snap will remove the attribute and value.

The snap looks up the distinguished name and then submits a ModifyRequest to remove the attribute. We use the Apache Directory API to do this which documents removal as โ€œremoving an attribute and value from an entryโ€.

That said, I actually havenโ€™t tested this, but could to confirm. Others may have experience doing this.

View solution in original post

2 REPLIES 2

mbowen
Employee
Employee

Hi @Henchway :

There is also a LDAP Delete Attibute Value snap which will delete just the values for the attribute.

It looks like the LDAP Delete Attribute snap will remove the attribute and value.

The snap looks up the distinguished name and then submits a ModifyRequest to remove the attribute. We use the Apache Directory API to do this which documents removal as โ€œremoving an attribute and value from an entryโ€.

That said, I actually havenโ€™t tested this, but could to confirm. Others may have experience doing this.

Thanks, Iโ€™ve tested it with Microsoft Active directory and it works as I hoped it would, it will simply delete all values for the attribute. This is required in my case as i donโ€™t know the previous value in each case to selectively remove it.