Permission Denied in Dokuwiki

Moderator: fanno

Forum rules
Please post all the bugs you encounter on our issue tracker.

Permission Denied in Dokuwiki

Postby imnotgoats on Wed Mar 10, 2010 2:40 pm

Please fill up the following form to enjoy free support from our Team. No Support will be provided in case this form is not filled up!

1. Have you searched the forums and checked the documentation section for a solution?
Yes

2. Please summarize your problem in a few lines.
Cannot login to Dokuwiki through Joomla ("Permission Denied" in Doku).

3. What steps will reproduce the problem?
Attempt to log into Doku through Joomla login.

4. What is the expected output? What do you see instead?
Successful login into Dokuwiki, instead permission is denied.

5. You must include a printout of the login checker in the JFusion component.



Code: Select all
JFusion Login Checker Results

Server Configuration
Joomla Version 1.5.15
PHP Version 5.2.9
MySQL Version 5.0.77mm0.1-log
System Information Linux serv0x.xxx.com 2.6.28.5-grsec-sg2 #6 SMP Fri Feb 20 02:45:11 CST 2009 i686
Browser Information Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
jfusion user Plugin Enabled
jfusion authentication Plugin Enabled



JFusion Versions
JFusion Component Version 1.2.4-000 (Rev 1962:1965) 
JFusion Authentication Plugin Version 1.2.4-000 
JFusion User Plugin Version 1.2.4-000 
JFusion Activity Module Version 1.2.4-000 
JFusion Login Module Version 1.2.4-000 
JFusion Search Plugin Version 1.2.4-000 
JFusion Discussion Plugin Version 1.2.4-000 



JFusion joomla_int Plugin
configuration master 1
slave 0
dual_login 1
check_encryption 1
 

JFusion dokuwiki Plugin
configuration master 0
slave 1
dual_login 1
check_encryption 1
 




Authentication Plugin
userid 68
activation ""
username user1
name user1
password 1dc5a3********
email x.x@xxx.co.uk
block 0
group_name Registered
group_id 18
params " "
password_salt 9a96*****
language en-GB
credentialed_username user1
password_clear ******

 Authentication Plugin Success

Authentication Plugin Debug
0 joomla_int Password Encryption Check: 1dc5a3******** vs 1dc5a3********
1 joomla_int Password Encryption Check: Success



jfusion User Plugin
 User Plugin Success

User Plugin Debug
init 0 Using userinfo JFusion authentication plugin
 
joomlaid 68
dokuwiki User Update 0 A user has been found that matches the login details
1 Skipped the update of name
2 Skipped Password Update:Password already valid
 
dokuwiki User Details userid user1
name user1
username user1
password $1$8d2********
email x.x@xxx.co.uk
group_id 0 user
 
password_clear ******
 
dokuwiki Session 0 Trying to find loginform using url: http://www.xxx.net/doku.php?do=login
1 Login page read, setting cookies first phase:
2 Created Cookie: Name=DokuWiki, Value=ooaf6m1kp2eggusp2k7e4nn4j0, Expires=10-03-2010 08:40:38, Cookie Path=/, Cookie Domain=.xxx.net, Cookie Secure connection only=0, Cookie HTTP-only=0
3 Created Cookie: Name=DW68700bfd16c2027de7de74a5a8202a6f, Value=deleted, Expires=10-03-2009 09:10:37, Cookie Path=/, Cookie Domain=.xxx.net, Cookie Secure connection only=0, Cookie HTTP-only=0
4 Valid login form found
5 Valid username and password fields found
6 Starting login: action= http://www.xxx.net/ parameters= u=user1&p=xxxxxx§ok=fc767933a2465c3618efe28cc7c1bf61&id=start&do=login&submit=Login&jnodeid=www.xxx.net%2Fj&jhost=true
7 Login performed, setting cookies definite phase:
8 Created Cookie: Name=DokuWiki, Value=ooaf6m1kp2eggusp2k7e4nn4j0, Expires=10-03-2010 08:40:38, Cookie Path=/, Cookie Domain=.xxx.net, Cookie Secure connection only=0, Cookie HTTP-only=0
9 Created Cookie: Name=DW68700bfd16c2027de7de74a5a8202a6f, Value=deleted, Expires=10-03-2009 09:10:37, Cookie Path=/, Cookie Domain=.xxx.net, Cookie Secure connection only=0, Cookie HTTP-only=0
10 CURL_LOGINTYPE=brute_force

Additional Information

The userlist syncs into Doku without issue, and users can log in directly without any problems. As mentioned in another post, I have tried changing the cURL redirection to 'no', which has not affected anything.

I'm not sure if the cookies are correct, so I have included cookie info from Firefox's webdev plugin for both scenarios below.

JFusion login:

Code: Select all
http://xxx.net/doku.php

2 cookies

Name   DokuWiki
Value   kfqvpjtm7umvgscr5cl05s2jn3
Host   xxx.net
Path   /
Secure   No
Expires   At End Of Session

   

Name   f0f803a2a55eec10c067e71416be86e6
Value   nc0v1iqkjoqg03ct6qohs1p1s6
Host   xxx.net
Path   /
Secure   No
Expires   At End Of Session

Doku direct login:

Code: Select all
http://xxx.net/doku.php

2 cookies

Name   DW68700bfd16c2027de7de74a5a8202a6f
Value   dXNlcjE%3D%7C0%7CdHhpY1UvdjlTYjlSTE1BQ05DRTdvQT09
Host   xxx.net
Path   /
Secure   No
Expires   At End Of Session

   

Name   DokuWiki
Value   hioh8n66jf0c9cuedmvgc6qm91
Host   xxx.net
Path   /
Secure   No
Expires   At End Of Session

The only other thing I feel is worth mentioning is that Doku (jf slave) is installed in /root/, whereas Joomla (jf master) is installed in /root/j/. I don't know if this could affect anything but the more info, the better.

I would be really grateful if someone could help me out at all.

Thanks!
User avatar
imnotgoats
JFusion Newbie
JFusion Newbie
 
Posts: 4
Joined: Wed Mar 10, 2010 12:02 pm

Re: Permission Denied in Dokuwiki

Postby fanno on Thu Mar 11, 2010 12:58 pm

there have been some changes i belive in dokuwiki what is your.

Relative Path set to under curl options.

if its yes then change to no..

if no change to yes

my mind is so busy right now so i dont remember what it should be. =( sad brain i know
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Permission Denied in Dokuwiki

Postby imnotgoats on Thu Mar 11, 2010 5:05 pm

Hi Fanno,

Thanks for your response. Unfortunately, changing the cURL relative path doesn't seem to make any difference. Any other ideas? Could it be cookie related?

Thanks.
User avatar
imnotgoats
JFusion Newbie
JFusion Newbie
 
Posts: 4
Joined: Wed Mar 10, 2010 12:02 pm

Re: Permission Denied in Dokuwiki

Postby fanno on Thu Mar 11, 2010 9:34 pm

pm me a url with admin access i will doubble check and run a few tests when i get time should have time some time next week (maybe this weekend)
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Permission Denied in Dokuwiki

Postby fanno on Fri Mar 12, 2010 10:51 am

it works fine for me.

the only problem was joomla_int url was set to / but it should have been
Code: Select all
http://............./j/
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Permission Denied in Dokuwiki

Postby imnotgoats on Wed Mar 24, 2010 10:27 am

Thank you very much for looking at that for me, I really appreciate it.

I have one more question, if it's alright to ask in this thread:

If I use another extension to handle subscriptions, will that affect the update of Doku? Does it have to be on the native Joomla user page to migrate the user info, will it pass info over whenever Joomla has a new user?

Thanks again Fanno!
User avatar
imnotgoats
JFusion Newbie
JFusion Newbie
 
Posts: 4
Joined: Wed Mar 10, 2010 12:02 pm

Re: Permission Denied in Dokuwiki

Postby fanno on Wed Mar 24, 2010 8:30 pm

imnotgoats wrote:If I use another extension to handle subscriptions, will that affect the update of Doku? Does it have to be on the native Joomla user page to migrate the user info, will it pass info over whenever Joomla has a new user?


i dont follow =( you mean like CB ? or something ? if so as long as it uses the joomla api then it will/should work.
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Permission Denied in Dokuwiki

Postby imnotgoats on Wed Apr 07, 2010 9:51 am

Hi Fanno, sorry for the delayed response.

What I'm referring to is if I was to use a payment/subscription plugin (I'm currently looking at AEC - http://extensions.joomla.org/extensions ... ions/10723) which would create new users and control their accounts.

If a Joomla user was created by this kind of plugin, would it automatically be migrated to Doku when the new user was created, or would I have to sync jFusion in the backend to get it to recognise it?

Also, is it the case that changes in accounts using the advanced management (having registered and publisher users, for instance) do not automatically change without a sync? I've noticed that I seem to have to sync if I change a user's account type.

Thanks!
User avatar
imnotgoats
JFusion Newbie
JFusion Newbie
 
Posts: 4
Joined: Wed Mar 10, 2010 12:02 pm

Re: Permission Denied in Dokuwiki

Postby fanno on Wed Apr 07, 2010 9:59 am

like i tried to say earlier, as long as the plugin use joomla's api we support it (to my understanding).

The user in doku should be updated when the user login to joomla if dokuwiki is set to advanced mode.

I have never used any aec plugins so i may have miss under stood.

-Thanks
Fanno
_________________________________
Developer
Specialist on SMF, DokuWiki , Mantis, Eventum, Mediawiki, Universal plugin


Review us at!
http://extensions.joomla.org/extensions/3723/details
User avatar
fanno
Developer
Developer
 
Posts: 7680
Joined: Wed Jan 07, 2009 4:38 pm
Location: Denmark, Copenhagen

Re: Permission Denied in Dokuwiki

Postby mariusvr on Wed Apr 07, 2010 1:50 pm

We have have our own docs on AEC:
http://www.jfusion.org/index.php/docs/d ... ration;aec

Like Fanno said, as long as the joomla components work without "hacks" to Joomla, jfusion supports it (jomsocial, cb, aec, etc)

Thanks, Marius
User avatar
mariusvr
Developer
Developer
 
Posts: 3132
Joined: Sun Jan 13, 2008 9:55 am
Location: Perth, Western Australia

Next

Return to DokuWiki

Who is online

Users browsing this forum: No registered users and 1 guest

cron