--
You received this message because you are subscribed to the Google Groups "simpleSAMLphp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to simplesamlph...@googlegroups.com.
To post to this group, send email to simple...@googlegroups.com.
Visit this group at http://groups.google.com/group/simplesamlphp?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
On 12 June 2013 15:52, <raffaele....@imtlucca.it> wrote:
> Hi,
> I'm trying to access to my idp, web interface as administrator.
> In config file I had set the password,
> the problem is that it doesn't work.
What do you mean by "it doesn't work"?
Do you get access denied, an HTTP error, or what?
Also, which URL did you try to access?
> In the config file I set the password in cleartext.
> Is that correct?
That could be correct, but it also could be wrong.
It depends HOW you configured it.
So, send the relevant context of the configuration file, with a masked password.
On 12 June 2013 16:37, <raffaele....@imtlucca.it> wrote:
> I'm trying to access https://------------------/idp/auth/login-admin.php?
> It says "Incorrect username or password. "
> Of course it must be the password because I'm not able to change the
> username, it's fixed to "Administrator".
>> > In the config file I set the password in cleartext.
>> > Is that correct?
>>
>> That could be correct, but it also could be wrong.
>> It depends HOW you configured it.
>> So, send the relevant context of the configuration file, with a masked
>> password.
>
>
> in config/config.php
>
> "
> 'auth.adminpassword' => '------------'',
This all seems to make sense, except for the extra single-quote, but I
assume that's a typo.
Maybe the password has UTF-8 characters and/or got corrupted during copying?
On Wednesday, June 12, 2013 5:02:19 PM UTC+2, Dick Visser wrote:On 12 June 2013 16:37, <raffaele....@imtlucca.it> wrote:
> I'm trying to access https://------------------/idp/auth/login-admin.php?
> It says "Incorrect username or password. "
> Of course it must be the password because I'm not able to change the
> username, it's fixed to "Administrator".
>> > In the config file I set the password in cleartext.
>> > Is that correct?
>>
>> That could be correct, but it also could be wrong.
>> It depends HOW you configured it.
>> So, send the relevant context of the configuration file, with a masked
>> password.
>
>
> in config/config.php
>
> "
> 'auth.adminpassword' => '------------'',
This all seems to make sense, except for the extra single-quote, but I
assume that's a typo.
Maybe the password has UTF-8 characters and/or got corrupted during copying?
I just wrote a very simple password for test.
I don't understand why it doesn't work.
Could it be same kind of access list somewhere?
--
Dick Visser
System & Networking Engineer
TERENA Secretariat
Singel 468 D, 1017 AW Amsterdam
The Netherlands
--
On 12 June 2013 17:52, <raffaele....@imtlucca.it> wrote:
> In the log of simplesaml I get :
>
> "
> Jun 12 17:49:55 simplesamlphp INFO [29e544588f] AUTH -admin: Accessing auth
> endpoint login-admin
> Jun 12 17:49:55 simplesamlphp NOTICE STAT [29e544588f] AUTH-login-admin
> Failed
> Jun 12 17:49:55 simplesamlphp INFO [29e544588f] error_wrongpassword
> Jun 12 17:49:55 simplesamlphp DEBUG [29e544588f] Template: Reading
> [/usr/share/simplesamlphp/dictionaries/login]
>
> "
>
> It seems like it takes a different password then the one I wrote in
> config.php
You don't have 'auth.adminpassword' configured a second time
somewhere later in config.php?
Op donderdag 13 juni 2013 10:38:02 schreef raffaele....@imtlucca.it:
> I did grep all the files, didn't find anywhere.You should really include this information as it would have enabled to answer
> Becuase there were other things broken I just decided to reinstall
> simplesamlphp from the source (previously I installed it with a debian
> package)
your question instantly.
The Debian package has at the bottom of config.php:
require_once('/var/lib/simplesamlphp/secrets.inc.php');
which has the admin password there.
Op donderdag 13 juni 2013 15:45:23 schreef Mauricio Tavares:
> You should really include this information as it would have enabled to
> answer your question instantly.
>
> The Debian package has at the bottom of config.php:
> require_once('/var/lib/simplesamlphp/secrets.inc.php');
> which has the admin password there.
>
> I too wished I had known that, as I had done installs using the
> debian package *and* the official packages (someone might remember meAs I said it's documented right at the value of that setting in config.php.
> talking about that some weeks ago).
I'm open to suggestions on where to document it so it's more obvious.
> There are things you need to accountThe latter doesn't exist.. but probably you're referring to
> for (/usr/share/simplesamlphp and /etc/defaults/simplesamlphp vs
/etc/simplesamlphp/