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

Enterprise setup script sets app pool user invalid if machine is domain joined #3355

Closed
james633 opened this issue May 4, 2023 · 3 comments

Comments

@james633
Copy link

james633 commented May 4, 2023

The enterprise setup script creates local user CSETUser to run the app pools, then it sets to app pools to run under "${env:userdomain}\CSETUser". If the machine is not domain joined that is fine since it will return the machine name, but if it is domain joined this will not be a valid account. Maybe this ought to use env:computername.

edit: same goes for sqlcmd creating the login and role etc.

@dc-rduncan
Copy link

I found this to be an issue as well and I concur with the proposed change which will work for both domain and non-domain joined computers.

If this is not going to get fixed, the documentation should indicate that a local administrator account should be used to perform the install.

@england2847
Copy link

england2847 commented Sep 19, 2023

I ran into this as well, had to edit the enterprise setup script. replaced "${env:userdomain}\CSETUser" with "computername\CSETUser" but "${env:computername}\CSETUser" would work for all installs. Great suggestion. I'm going to edit the script saved locally with that.

@Marcus-Goectau
Copy link
Member

This issue has been resolved in #4008. Thank you @james633 for finding this and proposing a fix!

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

No branches or pull requests

4 participants