[pmwiki-users] authenticate against samba PDC

Falk Hamann Falk.Hamann at dbaudio.com
Thu Nov 23 04:19:07 CST 2006


On Thu, 23 Nov 2006 10:10:13 +0100
"Dominique Faure" <dominique.faure at gmail.com> wrote:

> You'd better leave scripts/httpauth.php unchanged (to not loose
> anything when upgrading), and have all your customizations into
> config.php (untested):
> 
> # strip any domain prefix
> if(isset($_SERVER['REMOTE_USER']))
>   $_SERVER['REMOTE_USER'] =
>     preg_replace("/^[^\\]+\\\/", "", @$_SERVER['REMOTE_USER']);
> include_once('scripts\httpauth.php');

Thanks for this hint.

The other problem is still unresolved.

Groups, which defined in AuthUser.php (@write: test) und assign (@write)
to write via test.php?action=attr do !!!NOT!!! work.
Which means user test should be allowed to write, but this failed.

Read-Permission assigned via test.php?action=attr as id:test do work.

Whats going wrong ?

-- 

[root at Linux] chown linux.users /world




More information about the pmwiki-users mailing list