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

Portal AD connection #45

Merged
merged 8 commits into from
May 4, 2018
Merged

Conversation

spitzerr
Copy link
Contributor

Connect Portal with Active directory as user store and enable automatic account creation

@shailesh91
Copy link
Contributor

@spitzerr Each Portal needs to restart, that bit is missing. Everything else looks good.

@spitzerr
Copy link
Contributor Author

@shailesh91 Added the restart. Even it was not necessary on our testing.

Ready to merge :-)

Fixes #42

@shailesh91
Copy link
Contributor

@spitzerr I need to validate for the Portal HA (When AD is configured it should be also checked for not($Join)) and the case wherein AD connection is made post-deployment (From the looks of it Restart Only happens on the primary portal and not on the Secondary).

@shailesh91
Copy link
Contributor

Issue - Need to find a way to restart the secondary machine when AD Config happens as a post-deployment step.

@@ -125,8 +129,12 @@ function Wait-ForServiceToReachDesiredState
if ($Attempts++ -gt 0) { # to skip the message for first attempt
Write-Verbose "Checking state of Service '$ServiceName'. Attempt # $Attempts"
}
if($MachineName -ne $null -or $MachineName -ne ""){
$Service = Get-Service -Name $ServiceName -ErrorAction Ignore -ComputerName $MachineName
Copy link
Contributor

@shailesh91 shailesh91 Apr 3, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Issue -This query fails when fetching Service status from a remote machine since the local system account of the machine making the request doesn't have necessary permissions.

@shailesh91
Copy link
Contributor

@spitzerr Confirmed internally, Portal restarts are not necessary. Hence, removing it. Can you check if this looks good?

@spitzerr
Copy link
Contributor Author

spitzerr commented May 2, 2018

@shailesh91 Looks very good to me. On our site it`s working fine!
Are you going to merge this one?

@shailesh91
Copy link
Contributor

@spitzerr yes will merge it by the start of next week.

@shailesh91 shailesh91 merged commit ce01321 into Esri:master May 4, 2018
@spitzerr spitzerr deleted the u-portal-ad-connection branch May 7, 2018 08:13
@spitzerr spitzerr mentioned this pull request May 18, 2018
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 this pull request may close these issues.

None yet

2 participants