[pmwiki-users] Integrating password systems
ms at ms.lt
Wed Jan 25 15:16:19 CST 2006
My Drupal and PmWiki are on the same server. They are both built on
PHP. I imagine that from PmWiki I can call the $user array and get the
user ID $user->uid, then I can query the Drupal MySQL database and get
the user role, and then I can return the password that corresponds to
that user role. That doesn't sound too complicated. Where then (in
authuser.php ?) should I do the checking ? Thank you for helping me!
Andrius Kulikauskas wrote:
> I'm setting up PmWiki in conjunction with a Drupal content management
> I think I understand the basics of how to set up passwords on PmWiki
> so that users can have different access (read and/or write for various
> sections) depending on their passwords.
> What I would like is for the users who need the password-protected
> access to first log in to the Drupal content management system. Then,
> based on their user role in Drupal, I would like them to have the
> right privileges (afforded by the relevant password) at PmWiki. It
> should be seemless so that they never release that the passwords exist
> and are being checked for them behind the scenes.
> How do I go about that?
> The Drupal and the PmWiki are sitting on the same server.
> In other words, the first time that they click from Drupal into
> PmWiki, how could the user role (given by Drupal) pass on the right
> password for direct access into PmWiki?
> I found the AuthUser functionality
> and that I can use it for groups.
> I see that Isidor has done something much like what I want.
> I think with regard to an LDAP server - I think my situation is
> perhaps simpler.
> But I still don't understand!
> Any thoughts?
> Thank you!
> Andrius Kulikauskas
> Minciu Sodas
> ms at ms.lt
> +370 (699) 30003
More information about the pmwiki-users