[pmwiki-users] pmwiki groups/pages edit permission through Active Directory

Christopher Cox ccox at endlessnow.com
Mon Jul 2 14:05:38 PDT 2018


What we did was write a script that scans our Active Directory every 
couple of minutes (cron job) and outputs a php file we include in our 
local/config.php that has lines that look like:

$AuthUser["@MailRoom"] = array("buck", "henry", "han", "solo");

We strip out the spaces in the group names and slam it together, thus 
"Mail Room" in AD becomes "@MailRoom" when using pmwiki group attributes.

Is that enough to get you started?

So we use ldapsearch to list out the attributes and filter to produce 
the lines above.


On 07/02/2018 03:56 PM, ahmad abdulbaqi wrote:
> Dears
> Good Afternoon,
> 
> I've created editl permission for wiki groups/pages (which shown in 
> sidebar) trhough pmwiki platform, ( by adding "?action=attr"  in the end 
> of Group URL.
> but I need to give user permission for these Groups/Pages through Active 
> Directory.



More information about the pmwiki-users mailing list