terraform-provider-ad icon indicating copy to clipboard operation
terraform-provider-ad copied to clipboard

Fix for user custom attribute issues

Open AndyDLP opened this issue 2 years ago • 4 comments

Description

This PR fixes the issues I reported in #158, where defining custom_attributes that included a hypen - in the name such as msDS-SupportedEncryptionTypes threw errors due to incorrect quoting of hashtable keys.

It also fixes an (unreported?) bug where if a custom_attribute was a large number (e.g. uidNumber = 7333677) it ended up being formatted with an exponent which then threw an error.

Tested successfully on Windows 10 & Alpine with terraform 1.2.7 & 1.4.2

References

#158

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

AndyDLP avatar Apr 19 '23 19:04 AndyDLP

CLA assistant check
All committers have signed the CLA.

hashicorp-cla avatar Apr 19 '23 19:04 hashicorp-cla

version number updated, attribute added to user

risingisland avatar Feb 26 '24 09:02 risingisland

version number corrected, attribute applied to user

GetSimpleCMS-CE avatar Feb 26 '24 09:02 GetSimpleCMS-CE

version number corrected, attribute applied to user

GetSimpleCMS-CE avatar Feb 26 '24 09:02 GetSimpleCMS-CE