Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to set the "authenticationEnabled" = false using the client.LDAPConfigurations.Save() #339

Closed
Adelmar92 opened this issue Dec 28, 2022 · 0 comments · Fixed by #340

Comments

@Adelmar92
Copy link

Adelmar92 commented Dec 28, 2022

Describe the bug
Im not being able to set the property, "authenticationEnabled" to FALSE using the client.LDAPConfigurations.Save(), every time this property is provided as FALSE, is discarted, and keeps being TRUE.

in the next example, im executing the save functionality with only the AuthenticationEnabled in False, then getting the ldap configurations with a curl call, and validating that the property is in true.

image

is possible to set that property in false using an api call
image

ive also tried to set it on TURE (original was set on false) and it works ok

image

# Summary: the property AuthenticationEnabled can be set on TRUE, but cannot be set on FALSE

Expected behavior
When providing the property authenticationEnabled in false using the client, should be set in false in the atlas api.

Desktop (please complete the following information):

  • OS: macOS Monterey 12.3
  • Lib Version go.mongodb.org/atlas v0.20.0
  • Go 1.19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant