[webteam] [Fwd: Re: auth against jabber.org database]

Peter Saint-Andre stpeter at stpeter.im
Fri Nov 30 16:27:01 CST 2007


Some slow progress to report...

1. I created a postgres user on athena (the xmpp server machine) for
this feature.

2. I set up permissions for this user in pg_hba.conf on athena.

So this at least is a bit of forward movement.

Next I will check into the information below...

>     Hey guys, we figured out that we want to authenticate the new
>     jabber.org <http://jabber.org>
>     website against our existing database of IM users. The db is postgres on
>     a different machine from the webserver. We want to make it read-only so
>     that Drupal will check credentials against what we have in the IM user
>     database (username and password). What is involved in writing a new auth
>     module or hacking an existing module?
> 
> 
> hook_auth is the function you'll need to
> implement: http://api.drupal.org/api/function/hook_auth/5
> 
> There are a variety of external authentication modules you can use as a
> template:
> * http://drupal.org/project/cas
> *  http://drupal.org/project/cosign
> * http://drupal.org/project/facebook_auth
> * http://drupal.org/project/netforum_authentication
> <http://drupal.org/project/netforum_authentication>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 7338 bytes
Desc: S/MIME Cryptographic Signature
Url : http://mail.jabber.org/pipermail/webteam/attachments/20071130/7c4ca498/attachment.bin 


More information about the webteam mailing list