Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Problem with RequireAuthor
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  6 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Didier HALATRE  
View profile  
 More options Mar 29 2012, 1:41 pm
From: Didier HALATRE <didier.hala...@free.fr>
Date: Thu, 29 Mar 2012 19:41:05 +0200
Local: Thurs, Mar 29 2012 1:41 pm
Subject: [pmwiki-users] Problem with RequireAuthor
Hello,
I have installed the last version 2.2.36
And make the indications of the page :http://www.pmwiki.org/wiki/Cookbook/RequireAuthor

Add in config.php in local :

   $EnablePostAuthorRequired = 1;

and

     # Force author name to match login name
     include_once("scripts/authuser.php");
     if (@$AuthId) $Author = $AuthId;

I also add :

$DefaultPasswords['read'] = 'id:*';
$DefaultPasswords['edit'] = 'id:*';

The fisrt time I invoke the wiki, I go in the identification page. I input the name and the password and all is OK but $AuthId is empty.

May be I forget something ?

Thanks by advance
Didier

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tamouse mailing lists  
View profile  
 More options Mar 29 2012, 2:08 pm
From: tamouse mailing lists <tamouse.li...@gmail.com>
Date: Thu, 29 Mar 2012 13:08:13 -0500
Local: Thurs, Mar 29 2012 2:08 pm
Subject: Re: [pmwiki-users] Problem with RequireAuthor

Probably a silly question, but did you put a user/password in
SiteAdmin.AuthUser?

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Didier HALATRE  
View profile  
 More options Mar 29 2012, 4:41 pm
From: Didier HALATRE <didier.hala...@free.fr>
Date: Thu, 29 Mar 2012 22:41:52 +0200
Local: Thurs, Mar 29 2012 4:41 pm
Subject: Re: [pmwiki-users] Problem with RequireAuthor
Le 29/03/2012 20:08, tamouse mailing lists a écrit :

Hello,
In the documentation, it's in Site.AuthUser.
I try with SiteAdmin.AuthUser and there is the same result.

The login is OK. But the $AuthId is empty :-(

Didier

$AuthId is empty.

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
tamouse mailing lists  
View profile  
 More options Mar 29 2012, 5:45 pm
From: tamouse mailing lists <tamouse.li...@gmail.com>
Date: Thu, 29 Mar 2012 16:45:30 -0500
Local: Thurs, Mar 29 2012 5:45 pm
Subject: Re: [pmwiki-users] Problem with RequireAuthor

Then that documentation is incorrect. Is it on a page on the pmwiki
site? Or the local documentation that came with your installation? Can
you tell me which page it says Site.AuthUser?

Now, why, $AuthId is empty is still a mystery....

By any chance, is your user's password the same as one of the
passwords you set in config.php? For example, if a user's password in
SiteAdmin.AuthUser is the same as, say, the admin password set in
$DefaultPasswords['admin'], the latter takes precedence and you don't
get an $AuthId set in that case.

I share your pain with learning the Authorization system. Someone
wrote http://www.pmwiki.org/wiki/Cookbook/QuickStartForAuthUser and
then everything became a lot clearer to me.

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Petko Yotov  
View profile  
 More options Mar 30 2012, 5:04 am
From: Petko Yotov <5...@5ko.fr>
Date: Fri, 30 Mar 2012 11:04:14 +0200
Local: Fri, Mar 30 2012 5:04 am
Subject: Re: [pmwiki-users] Problem with RequireAuthor
On Thursday 29 March 2012 22:41:52 Didier HALATRE wrote:

> Le 29/03/2012 20:08, tamouse mailing lists a écrit :
> > On Thu, Mar 29, 2012 at 12:41 PM, Didier HALATRE<didier.hala...@free.fr>
> >> Hello,
> >> I have installed the last version 2.2.36
...
> In the documentation, it's in Site.AuthUser.
> I try with SiteAdmin.AuthUser and there is the same result.

The documentation you're looking at is outdated, in 2.2.x, the page is indeed
SiteAdmin.AuthUser (unless you have configured it to be elsewhere). Where is
this documentation? We may have forgotten to update it.

> The login is OK. But the $AuthId is empty :-(

What is your user: password line in SiteAdmin.AuthUser ? Does look like :

  Didier: $1$YTJui2ZN$TMYMiWH3SNo84LJ72ZZ2E

Your admin password or some other passwords set in $DefaultPasswords may allow
you to login without the need to enter a username. In that case, none of these
passwords (for non-username, password only login) should be the same as the
user passwords defined in SiteAdmin.AuthUser.

And, remember to log out of the administrator account before login as a user -
because PmWiki allows to be logged in as both at the same time, but this might
mess with the $AuthId variable.

Last thing I can think of now is the order of lines in config.php. The
inclusion of scripts/authuser.php should be quite early in config.php, before
most other recipes.

Petko

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
didier.hala...@free.fr  
View profile  
 More options Mar 30 2012, 6:48 am
From: didier.hala...@free.fr
Date: Fri, 30 Mar 2012 12:48:55 +0200 (CEST)
Local: Fri, Mar 30 2012 6:48 am
Subject: Re: [pmwiki-users] Problem with RequireAuthor
----- Mail original -----
De: "Petko Yotov" <5...@5ko.fr>
À: pmwiki-us...@pmichaud.com
Envoyé: Vendredi 30 Mars 2012 11:04:14
Objet: Re: [pmwiki-users] Problem with RequireAuthor

>> In the documentation, it's in Site.AuthUser.
>> I try with SiteAdmin.AuthUser and there is the same result.

> The documentation you're looking at is outdated, in 2.2.x, the page is indeed
> SiteAdmin.AuthUser (unless you have configured it to be elsewhere). Where is
> this documentation? We may have forgotten to update it.

It is in the french documentation and as I'm French...  ;-)
http://www.pmwiki.org/wiki/PmWikiFr/AuthUser
The english doc is OK.

>> The login is OK. But the $AuthId is empty :-(

> What is your user: password line in SiteAdmin.AuthUser ? Does look like :

>  Didier: $1$YTJui2ZN$TMYMiWH3SNo84LJ72ZZ2E

Yesterday, when I have updated the good page, I forget the ":" between the name and the password.
Now all is OK. The $AuthId have the good value (and $Author also).

Many Thanks to you and tamouse
Didier

_______________________________________________
pmwiki-users mailing list
pmwiki-us...@pmichaud.com
http://www.pmichaud.com/mailman/listinfo/pmwiki-users


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »