Pryz / terraform-provider-ldap

LDAP provider for Terraform
MIT License
36 stars 31 forks source link

Don't skip RDNs when reading from LDAP. Just treat them like normal attributes #8

Open philsttr opened 6 years ago

philsttr commented 6 years ago

Fixes Issue #7

Skipping RDNs was causing 'terraform apply' to always attempt to add the RDN attribute for existing entries. And when terraform attempted to add the RDN attribute, the ldap server would complain that the attribute already existed.

I didn't see a reason why RDNs should be skipped when reading from LDAP, so I just removed the the logic to skip them.