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

[FIXED JENKINS-34968] Domain in login is not taken into account #35

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

fbelzunc
Copy link
Contributor

If we write subdomain in the login, then this subdomain is not taken into account.

This is related to changes by this commit: 7c04f78

This is incorrect:
If people type in 'foo@bar' or 'bar\foo' or just 'foo', it should be treated as 'foo@bar' (where 'bar' represents the given domain name)

'bar' is represent a domain name which is set in the configuration, not in the login.

For example we set our Domain Name to 'bar.com'. Then we write login 'subbar\foo'. We expect to transform this to '[email protected]'. But instead a '[email protected]' is used.

https://issues.jenkins-ci.org/browse/JENKINS-34968

@reviewbybees @jtnord

@jtnord
Copy link
Member

jtnord commented May 25, 2016

For example we set our Domain Name to 'bar.com'. Then we write login 'subbar\foo'. We expect to transform this to '[email protected]'. But instead a '[email protected]' is used.

That expectation is wrong to me... if you are providing the NT legacy domain then DOMAIN\User then some magic should probably happen on that NT domain,. Note the NT DOMAIN is not gauranteed to be DOMAIN.something.other - it may not even be in the actual domain (e.g. domain UKBLAH can map to uk.blah.com) If you provide a domain in the form foo@bar then bar is the domain name and should be used - no further processing of the domain in this case should be performed (that is foo@whatever is the principal name and is already fully qualified - if not its not valid)

@ghost
Copy link

ghost commented Jun 16, 2016

This pull request originates from a CloudBees employee. At CloudBees, we require that all pull requests be reviewed by other CloudBees employees before we seek to have the change accepted. If you want to learn more about our process please see this explanation.

yaroslavafenkin pushed a commit to yaroslavafenkin/active-directory-plugin that referenced this pull request Nov 1, 2024
[JENKINS-61243]: log (fine) if failed to add a parameter definition in Utils class, but don't blow exception; keep working on other params and eval the parameter definition
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants