-
Notifications
You must be signed in to change notification settings - Fork 722
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
GUACAMOLE-1881: Adding new standard token LDAP_DOMAIN by extracting from user credentials #931
Conversation
guacamole/src/main/java/org/apache/guacamole/tunnel/StandardTokenMap.java
Outdated
Show resolved
Hide resolved
ee49938
to
9289021
Compare
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
@mike-jumper @necouchman could you look into my pull request, as I have move the changes into LDAP module as per the comments. |
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.
A couple of more tweaks and I think it'll be ready to go.
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
@necouchman I have resolved your comments. |
@necouchman @mike-jumper I have resolved all the comments. Can I get your tick? |
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
@necouchman I have resolved your comments. please have a review. thanks. |
@necouchman if you have a minute, could you have look over this again, resolved all comments. Good to get this merged, waiting for this feature for a wee bit of time. |
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
@mike-jumper I have resolved your comments, could you review when you get a minute. Thanks. |
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.
Overall I think the code is okay, but there are a few style fix-ups to do, here, to make it consistent with the rest of the code
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
...le-auth-ldap/src/main/java/org/apache/guacamole/auth/ldap/AuthenticationProviderService.java
Outdated
Show resolved
Hide resolved
@josnabattula You need to remove the merge commits from this PR - there are currently two: Also, you might want to consider squashing the others together into a smaller number - 9 commits seems a bit much for 60 lines of code change ;-). |
…rom user credentials
@necouchman I have removed merge commits and squashed other commits also. |
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'm good with it. @mike-jumper, any further changes you'd like to see?
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.
looks good Josna!
@mike-jumper When you get some time, could you review this pull request? thanks. |
@mike-jumper Can you review this request, we are waiting for this feature for a while. thanks. |
@mike-jumper could you review this pull request, I have resolved your comments. thanks. |
Yes, I'll take a look. |
@mike-jumper I can close this pull request once superseded by this PR #987 is merged. |
Closing per above (superseded by #987). |
When user log-in into Guacamole when multiple LDAP's enabled with one of the configuration in ldap-server.yml
match-usernames: - DOMAIN1\\(.*) - (.*)@domain1\.example\.net
In this pull request we are extracting domain name into custom variable
LDAP_DOMAIN
. this can be used for connections