[pmwiki-users] pmwiki and Active Directory
pbowers at pobox.com
Thu May 14 14:09:15 CDT 2009
<regretfully top-posting... :-) >
I would get rid of the CHR(39) business around everything. You need the
actual values, not the values with single-quotes around them. I don't know
if that will solve the whole thing, but it'll be one step closer...
On Thu, May 14, 2009 at 8:39 PM, Tom <info at aurlund.no> wrote:
> <top posting preferred>
> Here are some sample values for the $idinfo-array:
> $idinfo = username => in our environment we are using a personal code
> like '98765432'
> $idinfo = full name => f.eks. "Joe Doe"
> $idinfo = Access Code:
> $idinfo are linked to security groups in the Active Directory in the
> following manner:
> Security Group "WIKI": $idinfo = "read"
> Security Group "PMWIKI": $idinfo = "edit"
> Security Group "Administrators": $idinfo = "admin"
> If username '98765432' with full name "Joe Doe" authenticates at the
> intranet website (via
> Active Directory) and he is a member of the PMWIKI Security Group then
> $idinfo gets
> the value 'edit'.
> The resulting code in this case should be:
> $DefaultPasswords['edit'] = 'id:98765432'
> which again should give the result that the authenticated user should have
> site-wide edit access.
> But this is not the case - maybe I have got some permissions wrong on the
> folder structure for
> pmwiki ??
> - Regards,
> Tom A.
> On Wed, May 13, 2009 at 8:52 PM, Tom <info at aurlund.no <mailto:
>> info at aurlund.no>> wrote:
>> $idName = chr(39) . "id:" . $idinfo . chr(39);
>> $idCode = chr(39) . $idinfo . chr(39);
>> $DefaultPasswords[$idCode] = $idName;
>> This information is probably available in your post if I read it carefully
>> enough, but, lazy man that I am, would it be possible for you to give some
>> sample values for $idinfo, $idinfo, and $idinfo? I'm thinking 
>> is a username,  is a full name, and  is a group. But I'm unsure what
>> type of values you have in .
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the pmwiki-users