-
Notifications
You must be signed in to change notification settings - Fork 72
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
CLOUDP-70047: mongocli atlas security ldap verify #437
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM one small nit but non blocking
@@ -24,6 +24,12 @@ const ( | |||
Secret = "secret" // Secret flag | |||
ProjectID = "projectId" // ProjectID flag to use a project ID | |||
AuthDB = "authDB" // AuthDB flag | |||
Hostname = "hostname" // Hostname flag | |||
Port = "port" // Port flag |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wow we did not have this yet?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yes, that's really strange indeed. I was sure they were already there 🤷♂️
@@ -36,6 +36,12 @@ const ( | |||
DBUsername = "Username for authenticating to MongoDB." | |||
TeamName = "Name of the team." | |||
UserID = "The ID of the user." | |||
Hostname = "The hostname or IP address of the LDAP server." | |||
Port = "The port to which the LDAP server listens for client connections. Default: 636" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[non-blocking] we should name this LDAPPort
to avoid someone copy/pasting the flag without realising the copy is ldap specific
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to change them in the next PR
Proposed changes
Jira ticket: CLOUDP-70047
Checklist
make fmt
and formatted my codeFurther comments