cvs: pecl /sasl/docs guide.txt
| From: | Jon Parise | Date: | Wed, 11 Aug 2004 00:20:03 +0000 |
| Subject: | cvs: pecl /sasl/docs guide.txt | ||
| Groups: | php.pecl.cvs | ||
| Request: | Send a blank email to pecl-cvs+get-1630@lists.php.net to get a copy of this message | ||
jon Tue Aug 10 20:20:03 2004 EDT
Added files:
/pecl/sasl/docs guide.txt
Log:
Adding the beginnings of a users guide for the SASL extension. At the
moment, it simply contains a few Frequently Asked Questions that I've been
asked recently, but it will eventually evolve into true user-level
documentation.
http://cvs.php.net/co.php/pecl/sasl/docs/guide.txt?r=1.1&p=1
Index: pecl/sasl/docs/guide.txt
+++ pecl/sasl/docs/guide.txt
============================
The SASL Extension for PHP
============================
--------------------
User Documentation
--------------------
:Author: Jon Parise
:Contact: jon@php.net
:Date: $Date: 2004/08/11 00:20:02 $
:Revision: $Revision: 1.1 $
.. contents:: Contents... section-numbering::
Frequently Asked Questions
--------------------------
How does the SASL extension relate to the Auth_SASL PEAR package?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The
Auth_SASL_ PEAR package provides native PHP implementations of many of
the SASL authentication mechanisms. In theory, those methods could call out
to the SASL extension to compute those strings using the native C library, but
I'm not sure the effort is worth it. I wouldn't object to the idea if someone
did the work, though.
.. _Auth_SASL: http://pear.php.net/Auth_SASL
Does saslauthd need to be running locally?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
`saslauthd` needs to be running on the same machine as the SASL client (the
PHP process, in your case). The libsasl library (that the SASL extension
wraps) will communicate with the `saslauthd` process via a local Unix domain
socket.
Can saslauthd be used to authenticate against a remote server?
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
The `saslauthd` process loads the SASL authentication modules and performs
the actual authentication. This may involve contacting a foreign machine
(such as a remote Kerberos or LDAP server).
To complicate things even further, `saslauthd can use PAM`_ as its
authentication backend, which opens up even more authentication possibilities
(many of which may involve other hosts).
.. _PAM: http://www.freebsd.org/doc/en_US.ISO8859-1/articles/pam/
.. vim: tabstop=4 shiftwidth=4 softtabstop=4 expandtab textwidth=78 ft=rst: