Not logged in. · Lost password · Register
Forum: General Help and Support Installation and Configuration RSS
[SOLVED] AD Auth - Broken Images
Page:  previous  1  2 
Avatar
xavierkkwu #16
Member for 2 months · 17 posts
Group memberships: Members
Show profile · Link to this post
In reply to post ID 17079
In my case.

My ACL looks like this.

I am a member of Domain Group_A.

Current ACL Rules
  • @ALL None
  • @Group_A Delete
  • @Group_B Delete

Pics are not showing up even when I am selecting them from media browser.

I agree that shd be some sort of permission issues. But I dont' have any ideas on which part of permission.

Thanks very much.
Avatar
chi (Moderator) #17
Member since Jun 2006 · 1642 posts · Location: Munich Germany
Group memberships: Global Moderators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
In reply to post ID 17079
I give up. You don't provide the information I ask for, thus, I cannot help.
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
xavierkkwu #18
Member for 2 months · 17 posts
Group memberships: Members
Show profile · Link to this post
Sorry. This is the set up i am having

I am a member of Domain Group_A. (This Domain Group A is one of the groups that showed when i ran do=check)

Current ACL Rules

    * @ALL None

    * @Group_A Delete

    * @Group_B Delete

Do i miss something that you need?

Sorry for any inconvenience caused. Please helpT_T
Avatar
chi (Moderator) #19
Member since Jun 2006 · 1642 posts · Location: Munich Germany
Group memberships: Global Moderators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Quote by xavierkkwu:
  • @ALL None
  • @Group_A Delete
  • @Group_B Delete

If those are the "actual" ACL rules then they're wrong, you have to use the numeric equivalents described at http://dokuwiki.org. Try:

* @ALL 0
* @Group_A 16
* @Group_B 16
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
chi (Moderator) #20
Member since Jun 2006 · 1642 posts · Location: Munich Germany
Group memberships: Global Moderators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Quote by chi:
Quote by xavierkkwu:
  • @ALL None
  • @Group_A Delete
  • @Group_B Delete

If those are the "actual" ACL rules then they're wrong, you have to use the numeric equivalents described at http://dokuwiki.org. Try:

* @ALL 0
* @Group_A 16
* @Group_B 16

If however, that's what you already have (and didn't write) - then check a group name without "_". Maybe there's something going wrong there in the auth backend.
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
Avatar
xavierkkwu #21
Member for 2 months · 17 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #19
Quote by chi:
Quote by xavierkkwu:
  • @ALL None
  • @Group_A Delete
  • @Group_B Delete

If those are the "actual" ACL rules then they're wrong, you have to use the numeric equivalents described at http://dokuwiki.org. Try:

* @ALL 0
* @Group_A 16
* @Group_B 16

My acl.auth.php is the same format as yours.

*    @ALL    0
*    @WikiUsers    16

I am a group member of WikiUsers.

Please help. Sorry for not making it clear.
Avatar
chi (Moderator) #22
Member since Jun 2006 · 1642 posts · Location: Munich Germany
Group memberships: Global Moderators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Sigh - please give the actuall data not examples. It just creates more confusion.

Okay, please do a ?do=check - paste the part with the groups and your ACL configuration (in the file conf/acl.auth.php) (The fact that everything works with plain auth indicates that there's something not working 100% correctly with your other auth meachnism).
Please add [SOLVED] to the initial thread subject if you feel your question has been answered.
If my answer doesn't make sense maybe your question didn't either - just visit http://facepalm.org.
This post was edited on 2010-02-03, 09:39 by chi.
Avatar
dominik #23
Member since Apr 2009 · 46 posts · Location: Berlin, Germany
Group memberships: Members, Wiki Managers
Show profile · Link to this post
In reply to post #21
i've got an other idea.
try the http://www.dokuwiki.org/tips:findbadphp.php maybe there are some whitespaces that destroys the image
Avatar
xavierkkwu #24
Member for 2 months · 17 posts
Group memberships: Members
Show profile · Link to this post
In reply to post #22
Quote by chi on 2010-02-03, 09:34:
Sigh - please give the actuall data not examples. It just creates more confusion.

Okay, please do a ?do=check - paste the part with the groups and your ACL configuration (in the file conf/acl.auth.php) (The fact that everything works with plain auth indicates that there's something not working 100% correctly with your other auth meachnism).

Ok. Here is my do?=check result and acl.auth.php

DokuWiki version: Release 2009-12-25c "Lemming"
PHP version 5.3.1
More than 32MB RAM (134217728 bytes) available.
Changelog is writable
Datadir is writable
Attic is writable
Mediadir is writable
Cachedir is writable
Lockdir is writable
mb_string extension not available - PHP only replacements will be used
Debugging support is disabled
You are currently logged in as testuser1 (Test User 1)
You are part of the groups WikiUsers
Your current permission for this page is 255
The current page is writable by the webserver
The current page is writable by you
Failed to check if the data directory is accessible from the web. Make sure this directory is properly protected (See security)

*    @ALL    0
*    @WikiUsers    16

Many thanks to your help.
Avatar
xavierkkwu #25
Member for 2 months · 17 posts
Group memberships: Members
Show profile · Link to this post
Can anyone help?

Thanks in advance.
Avatar
xavierkkwu #26
Member for 2 months · 17 posts
Group memberships: Members
Show profile · Link to this post
FYI.

I just found the following in apache log.

When i am trying to load the image.

Some php files are not running by using my domain account and thus return 404 to browser.

IP - - [12/Feb/2010:09:41:07 +0800] "GET /lib/exe/detail.php?id=Test&media=Test.png HTTP/1.1" 401 401
IP - - [12/Feb/2010:09:41:07 +0800] "GET /lib/exe/fetch.php?cache=&w=412&h=154&media=Test.png HTTP/1.1" 401 401

Bug or some of my settings are wrong?
Avatar
ach (Moderator) #27
Member since May 2006 · 544 posts
Group memberships: Global Moderators, Members, Super Mods, Wiki Managers
Show profile · Link to this post
Quote by xavierkkwu:
IP - - [12/Feb/2010:09:41:07 +0800] "GET /lib/exe/detail.php?id=Test&media=Test.png HTTP/1.1" 401 401

That probably doesn't work because it's not a valid pagename (here: uppercase is not allowed).
Avatar
xavierkkwu #28
Member for 2 months · 17 posts
Group memberships: Members
Show profile · Link to this post
Thats' my typo.

I just wanted to point out that these php files are not running under my domain account such that apache return 401.

For other php files, they are running my domain account, retrun code 200.

I believe that's the reason that images are not showing up.

e.g.
IP - - [12/Feb/2010:09:41:07 +0800] "GET /lib/exe/detail.php?id=test&media=test.png HTTP/1.1" 401
IP - domain/user - [12/Feb/2010:09:41:07 +0800] "/xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx HTTP/1.1" 200
Avatar
xavierkkwu #29
Member for 2 months · 17 posts
Group memberships: Members
Show profile · Link to this post
Finally, I solved it by making a fresh installation and found out the cause.

The root cause: The data folder outside the apache Doc Root cause the issues.

Thanks for everyone help and not sure if it is a bug.
Avatar
tempo #30
Member for a month · 1 post · Location: Finland
Group memberships: Members
Show profile · Link to this post
I has found resolution in my case by using admin account to check dokuwiki ACL settings and do=check on specific page with images. Pictures can be seen as Admin. Next test with original user account and Voila! Everything was fine with pictures. I do not know reason for that at all.

Picture problem has started with dokuwiki update of DokuWiki Release 2009-12-25c Lemming.
Never grow old!
Close Smaller – Larger + Reply to this post:
Verification code: VeriCode Please note the verification code from the picture into the text field next to it.
Smileys: :-) ;-) :-D :-p :blush: :cool: :rolleyes: :huh: :-/ <_< :-( :'( :#: :scared: 8-( :nuts: :-O
Special characters:
Page:  previous  1  2 
Go to forum
Imprint
This board is powered by the Unclassified NewsBoard software, 20090606-dev, © 2003-8 by Yves Goergen
Current time: 2010-03-20, 11:47:44 (UTC +01:00)
WikiForumIRCBugsGitXRefTranslate