[pmwiki-users] pmwiki and Active Directory
info at aurlund.no
Tue May 19 14:21:14 CDT 2009
> >>> Peter Bowers skrev:
> > Short comment:
> > The error situation has been fixed, but I have another one (which is the
> > REAL problem in this case):
> > 1) The user has got his access set to "read":
> > $idinfo = 'read'
> > $idinfo = user ident
> > $DefaultPasswords[$idinfo] = "id:" . $idinfo;
> > (which should be "translated" to: $DefaultPasswords['read'] = 'id:<user
> > ident>).
> > 2) But I am still able to both change pages and store pages when
> > as this user (ident).
> > How come ?
>Have you explicitly set $DefaultPasswords['edit'] to something else? If no
>edit password has been set then that tells pmwiki to allow edits without
>authorization. Since you have a read password it would "cascade" to the
>edit password, but your person is already authenticated and so it doesn't
>$DefaultPasswords[$idinfo] = "id:" . $idinfo;
>if ($idinfo != 'edit' && $idinfo != 'admin')
>$DefaultPasswords['edit'] = crypt('something-unlikely-to-be-discovered');
>That may do what you want.
Yes, the solution works as it should.
But I still have one other question:
Q1: Is there other possible values which could be put in the
What about i.e. upload access ? Remember, I'm new on pmwiki...
- Tom A.
More information about the pmwiki-users