Help -- how to set effective user under IIS? (Sinatra app)

Repository of web frameworks and applications for Microsoft IIS.
User avatar
Posts: 3
Joined: 20 Oct 2014, 09:56

Help -- how to set effective user under IIS? (Sinatra app)

20 Oct 2014, 10:04

Hi all,

We need to be able to run a Sinatra app under Helicon Zoo using specific domain (not local) account. We have set all our IIS app pools to use that account, but our Sinatra app still runs under the default local user. I suspect this must be a Helicon Zoo config option (probably analogous to how mod_passenger does it, as either config.ru owner or an explicitly specified username/group), but I can't figure out how to do this under Helicon Zoo.

In the IIS console I can browse to my app, double-click on Helicon Zoo icon, and edit my 'ruby.project' application settings. That looks like the place where effective username setting might go, but no such settings currently exist there, and I could find nothing in Helicon Zoo docs to document what settings are permitted there.

Can anyone help us figure out how to run a Sinatra app under Helicon Zoo using a specific domain account? Am I on the right track in looking for a Helicon Zoo config options, or is it done in a different way entirely?

Thanks in advance!

User avatar
Posts: 3
Joined: 20 Oct 2014, 09:56

Re: Help -- how to set effective user under IIS? (Sinatra ap

20 Oct 2014, 17:34

Anyone?

Some help would be very much appreciated...

User avatar
Posts: 402
Joined: 06 Mar 2012, 11:59

Re: Help -- how to set effective user under IIS? (Sinatra ap

22 Oct 2014, 11:11

Hello.

Helicon Zoo spawns child Ruby process with the same credentials as the parent w3wp.exe (IIS worker) process. There is no even impersonation code there. Please download and try Process Explorer tool ( http://technet.microsoft.com/en-us/sysi ... 96653.aspx ) to see the process tree. You should see w3wp.exe IIS process with the Ruby.exe child, both running with the same credentials. Please try to set IIS App Pool for the IIS web site running this application correctly in IIS Manager.

User avatar
Posts: 3
Joined: 20 Oct 2014, 09:56

Re: Help -- how to set effective user under IIS? (Sinatra ap

22 Oct 2014, 20:03

Good to know, will do. We did set all the IIS app pools to use this account, but I suppose there must be a config error somewhere. We will try to figure it out, n ow that we know where to look.

Thanks for your help!

User avatar
Posts: 27
Joined: 13 Apr 2015, 03:03

Re: Help -- how to set effective user under IIS? (Sinatra ap

13 Apr 2015, 03:36

Thanks You

Educa

User avatar
Posts: 1
Joined: 13 Apr 2015, 05:07

Re: Help -- how to set effective user under IIS? (Sinatra ap

13 Apr 2015, 05:12

Nice post :P :P

Return to Helicon Zoo

Who is online

Users browsing this forum: No registered users and 10 guests