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

[AMBARI-23232] Set full name (cn) when creating user accounts in FreeIPA server #655

Merged
merged 1 commit into from Mar 17, 2018

Conversation

rlevas
Copy link
Contributor

@rlevas rlevas commented Mar 14, 2018

What changes were proposed in this pull request?

Set full name (cn) when creating user accounts in FreeIPA server.

{code:title=Example IPA CLI}
ipa user-add user1 --principal user1@AMBARI.APACHE.ORG --first user1 --last user1 --cn "user1"
{code}

The new argument is "{{--cn "user1"}}.

This may allow for compatibility with IPA server version 3.x

Also fixed cause for warning log message to be created due to incorrect conditional.

How was this patch tested?

Manually tested against FreeIPA version 4.5.

Please review Ambari Contributing Guide before opening a pull request.

@rlevas rlevas self-assigned this Mar 14, 2018
@rlevas rlevas requested review from zeroflag, a user, rnettleton and echekanskiy March 14, 2018 15:06
@rlevas
Copy link
Contributor Author

rlevas commented Mar 17, 2018

retest this please

@asfgit
Copy link

asfgit commented Mar 17, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1218/
Test FAILed.
Test FAILured.

@rlevas
Copy link
Contributor Author

rlevas commented Mar 17, 2018

retest this please

@asfgit
Copy link

asfgit commented Mar 17, 2018

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/1219/
Test PASSed.

@rlevas rlevas merged commit 6f223af into apache:trunk Mar 17, 2018
@rlevas rlevas deleted the AMBARI-23232 branch March 17, 2018 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants