SSO with nginx issue

Issue #519 resolved
George Louka created an issue

Hello,

I have just configured piler with the OVA image with LDAP authentication but I am facing issues with SSO. It seems that not all commands can work from your SSO Guide.

How can I troubleshoot that? Are there any issues with nginx that cause that?

Thank you!

Comments (4)

  1. Janos SUTO repo owner

    The docs describes SSO auth based on apache. It has a nice module mod_auth_ntlm_winbind which does the trick using winbindd from the samba project. To make SSO work with nginx, you need such a module which does the same (or perhaps another nginx feature/module using a different stuff for SSO). Currently I'm unaware of such a feature. If you have some time to figure out how to make SSO work for nginx, it would help the piler project considerably.

  2. Janos SUTO repo owner

    It's fairly straigtforward: apt-get remove nginx; apt-get install apache2. Find an example virtualhost config below:

    <VirtualHost *:80>
        ServerName piler.yourdomain.com
    
        DocumentRoot "/var/www/piler.yourdomain.com"
    
        <Directory /var/www/piler.yourdomain.com>
           Order allow,deny
           Allow from all
    
           AllowOverride all
        </Directory>
    
        ErrorLog "/var/log/apache2/piler.yourdomain.com-error_log"
        CustomLog "/var/log/apach2/piler.yourdomain.com-access_log" common
    </VirtualHost>
    
  3. Log in to comment