Question
I have passed the testing by "configuration" for my TWiki. But, I cannot change the
TWikiPreferences page and I get an "Access Denied" error message.
And it shows me it is the "TWikiContributor" on the top of the page. I am wondering if there is a login for "Administrator" or "Root".
Powered by TWiki
Access Denied
Attention
Access check on TWiki.TWikiPreferences failed. Action "in": TWiki::Plugins::PreferencesPlugin.
Contact webmaster if you have any questions.
Related topics: TWikiGroups, TWikiAccessControl
OK
Environment
--
ChenghuanJia - 11 Dec 2005
Answer
If you answer a question - or someone answered one of your questions - please remember to edit the page and set the status to answered. The status selector is below the edit box.
Looking at your site "configure" profile, it appears that you are logging in turned-off.
Authentication
TWiki supports different ways of responding when the user asks to log in (or is asked to log in as the result of an access control fault). They are:
- none - Don't support logging in, all users have access to everything.
- TWiki::Client::TemplateLogin - Redirect to the login template, which asks for a username and password in a form. Does not cache the ID in the browser, so requires client sessions to work.
- TWiki::Client::ApacheLogin - Redirect to an '...auth' script for which Apache can be configured to ask for authorization information. Does not require client sessions, but works best with them enabled.
{LoginManager} none
--
SteveRJones - 11 Dec 2005
Are you editing TWiki.TWikiPreferences or Main.TWikiPreferences?
From Dakar we don't edit TWiki.TWikiPreferences
--
MartinCleaver - 11 Dec 2005
Thanks, now I enable the login for my TWiki, but how to set my login as Administrator?
--
ChenghuanJia - 12 Dec 2005
Put your
WikiName into your
TWikiAdminGroup.
--
PeterThoeny - 12 Dec 2005
Hello, Gentlemen!
Would you be so kind as to put this the
TWikiInstallationGuide? I.e.: turn on authentication, create a user for yourself, then edit the admin group. I was confused by this too.
I'd had to build Perl on the system where I installed TWiki. I spent a few hours thinking I'd made some mistake there, since the present instructions imply that with Twiki is ready for preference changes as is.
Thanks!
--Dave
--
TWikiGuest - 14 Apr 2006
Thanks for the feedback, I added
Bugs:Item2108
.
--
PeterThoeny - 15 Apr 2006
The problem I'm having is that I can't seem to add a user. As soon as I enable authentication, I am
TwikiGuest and can't change anything. I've spent a few hours trying various way around this and running multiple searches on this site, and looking at the documentation and I can't figure out how to create a user for myself, much less add it to the admin group.
--
MattHotujec - 09 May 2006
I was having problems with the Verification piece of registering myself. I turned that off. Now, when I try to register, I get the same error I did upon trying to verify my registration:
Mail Error
An e-mail could not be delivered. Please notify your TWiki administrator,
webmaster@examplePLEASENOSPAM.com
Mail to: ERROR: Can't send mail using Net::SMTP. Relaying denied at /usr/lib/perl5/5.8.7/CGI/Carp.pm line 314
CGI::Carp::realdie('ERROR
Can\'t send mail using Net::SMTP. Relaying denied\x{a}') called at /usr/lib/perl5/5.8.7/CGI/Carp.pm line 385
CGI::Carp::die('ERROR
Can\'t send mail using Net::SMTP. Relaying denied\x{a}') called at /srv/www/htdocs/twiki/lib/TWiki/Net.pm line 300 TWiki::Net::_sendEmailByNetSMTP('TWiki::Net=HASH(0x818d30c)', 'Date: Tue, 09 May 2006 10:50:24 Local\x{a}From: TWiki Administrat...') called at /srv/www/htdocs/twiki/lib/TWiki/Net.pm line 191 TWiki::Net::__ANON__() called at /srv/www/htdocs/twiki/lib/CPAN/lib///Error.pm line 387 eval {...} called at /srv/www/htdocs/twiki/lib/CPAN/lib///Error.pm line 379 Error::subs::try('CODE(0x8ac5f18)', 'HASH(0x8c1ad4c)') called at /srv/www/htdocs/twiki/lib/TWiki/Net.pm line 207 TWiki::Net::sendEmail('TWiki::Net=HASH(0x818d30c)', 'From: TWiki Administrator <webmaster@example.com>\x{a}To: TWiki A...') called at /srv/www/htdocs/twiki/lib/TWiki/UI/Register.pm line 964 TWiki::UI::Register::_emailRegistrationConfirmations('TWiki=HASH(0x81715f4)', 'HASH(0x8ad2190)') called at /srv/www/htdocs/twiki/lib/TWiki/UI/Register.pm line 754 TWiki::UI::Register::finish('TWiki=HASH(0x81715f4)') called at /srv/www/htdocs/twiki/lib/TWiki/UI/Register.pm line 373 TWiki::UI::Register::registerAndNext('TWiki=HASH(0x81715f4)', '/srv/www/htdocs/twiki/data/RegistrationApprovals') called at /srv/www/htdocs/twiki/lib/TWiki/UI/Register.pm line 82 TWiki::UI::Register::register_cgi('TWiki=HASH(0x81715f4)') called at /srv/www/htdocs/twiki/lib/TWiki/UI.pm line 97 TWiki::UI::__ANON__() called at /srv/www/htdocs/twiki/lib/CPAN/lib///Error.pm line 387 eval {...} called at /srv/www/htdocs/twiki/lib/CPAN/lib///Error.pm line 379 Error::subs::try('CODE(0x8ade760)', 'HASH(0x8ad1e78)') called at /srv/www/htdocs/twiki/lib/TWiki/UI.pm line 146 TWiki::UI::run('CODE(0x8316e34)') called
Too many failures sending mail
Errors: %PARAM2%
It appears as thought it's failing because my SMTP server doesn't allow relaying. I've been trying to change the WIKIWEBMASTER e-mail address in TWiki/TWikiPreferences, but I get an error there as well that seems to do with authentication (when I had it set to none). With authentication enabled, I can't even try to change it because it requires me to be logged in.
--
MattHotujec - 09 May 2006
I was contacted off the wiki and have my problem solved now. Sorry for the excessive posting.
--
MattHotujec - 09 May 2006
what is the resolution ?
--
GowriRao - 29 Nov 2006
Am having the same Net:SMTP problem. Would like to know how it was resolved?
--
PriyaNIyer - 24 Oct 2007
please post a new question with exact details.
--
PeterThoeny - 27 Oct 2007