[pmwiki-users] Configuring pmwiki

Leopold Palomo Avellaneda leo at alaxarxa.net
Wed Apr 11 16:41:12 CDT 2012


A Dimecres, 11 d'abril de 2012, Vince Administration va escriure:
> Yes.
> 
> On Apr 10, 2012, at 5:47 PM, Leopold Palomo-Avellaneda wrote:
> > Hi,
> > 
> > I'm new as pmwiki admin and I would like to ask some doubts that I have.
> > First of all I have be able to install pmwiki in a Debian Squeeze
> > without any problem. However, the config step remains a bit confusing to
> > me, probably because my inexperience.
> > 
> > I would like to have a pmwiki site with some basics accounting settings.
> > Just an admin password to edit some pages(p. ex main page) and group of
> > pages that could be edited by some users.
> > 
> > Our environment has a ldap server where the users authenticate. So, my
> > first goal is to use the same user schema to manage pmwiki. So:
> > 
> > - can I use tls to connect to a ldap server?
> > - the unix groups defined in ldap could be used in pmwiki to select a
> > group of users that could edit some pages?
> > - can I define a private pages that could only be viewed by some IPs
> > (.htaccess?)
> > 
> > 
> > Thanks in advance,
> > Leo
> 
> Leo, this is the way we have set up our site.  We have a library of php
> functions that communicate with the ldap server, and this library is used
> throughout our entire site, not just the wiki. Then in config.php, we
> have:
> include("/Library/WebServer/Documents/general/subroutines/php/gid_functions
> .php"); For example, one of the functions is "TestGroupMembership".  In
> config.php we then can write: if( TestGroupMembership($user,"faculty") )
>        { $AuthList["@Faculty"]=1;
>          $Facultygroup=1; }
> This works well, we can then either use the AuthUser facility in PmWiki, or
> the if enabled on the $Facultygroup variable, according to need.
> 
ok,

but you have a custom library to access to ldap, nothing with pmwiki. So, have 
I to develop this kind of functions to use ldap with pmwiki?

Regards,

Leo


-- 
--
Linux User 152692     PGP: 0xF944807E
Catalonia
-------------------------------------
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?



More information about the pmwiki-users mailing list