So i misunderstood the configuration mechanism, sorry, i will stop submitting 
annoying bugs (too late for last one, sorry). 

IMHO the package should either come with some default config files to be usable 
out of the box, either the need to add this configuration files should be 
explicited in README.Debian. No user should experience such errors when 
browsing on the first link.

Le lundi 24 janvier 2011 16:19:06, Thijs Kinkhorst a écrit :
> Hi Fabrice,
> 
> On Mon, 24 Jan 2011 15:46:14 +0100, Fabrice Flore-Thebault
> 
> <them...@centsix.org> wrote:
> > At installation, when browsing on this page :
> > 
> > http://127.0.0.1/simplesamlphp/module.php/core/frontpage_federation.php
> > 
> > i get following error :
> > 
> > SimpleSAML_Error_Error: UNHANDLEDEXCEPTION
> > Backtrace:
> > 0 /usr/share/simplesamlphp/www/module.php:180 (N/A)
> > Caused by: Exception: Missing configuration file:
> > /usr/share/simplesamlphp/config/authsources.php
> > Backtrace:
> > 5 /usr/share/simplesamlphp/lib/SimpleSAML/Configuration.php:104
> > (SimpleSAML_Configuration::loadFromFile)
> > 4 /usr/share/simplesamlphp/lib/SimpleSAML/Configuration.php:168
> > (SimpleSAML_Configuration::getConfig)
> > 3 /usr/share/simplesamlphp/lib/SimpleSAML/Auth/Source.php:217
> > (SimpleSAML_Auth_Source::getById)
> > 2 /usr/share/simplesamlphp/lib/SimpleSAML/Utilities.php:1512
> > (SimpleSAML_Utilities::requireAdmin)
> > 1 /usr/share/simplesamlphp/modules/core/www/login-admin.php:11 (require)
> > 0 /usr/share/simplesamlphp/www/module.php:135 (N/A)
> > 
> > I could fix the problem pointing the file to the actual config.php which
> > is containing the configuration informations :
> > 
> > cd /etc/simplesamlphp
> > sudo ln -s config.php authsources.php
> 
> Thanks for the report, but I don't understand this.
> Authsources is a file that should contain completely different content
> from config.php. I can't understand what there is to gain by symlinking it
> from config.php.
> 
> authsources.php is not supplied by default because there is no sane
> default: this is where you define your SP.
> There is an example shipped in
> /usr/share/doc/simplesamlphp/examples/config-templates.

-- 
Fabrice Flore-Thébault



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to