dominique.faure at gmail.com
Thu Jul 26 03:19:49 CDT 2007
On 7/26/07, Sameer Kumar <skumar at eharch.com> wrote:
> I have tried and could not get sspi to work; I don't know enough about
> apache or sspi and am giving up on it.
I already manage to make it work successfully, defining a 'protected'
directory containing following files:
AuthName "A Protected Place"
with an ntlm-enabled browser would provide the following
authentication data to the php code hosted there:
> Coming back to HtPasswordForm, how can I replace my default PmWiki login
> form with one that offers new users to register and enter their own
The purpose of HtPasswdForm is not to replace the PmWiki login form,
but to provide a convenient tool to manage the password file used by
the original PmWiki security system (AuthUser), which is still
responsible for the user authentication itself.
Practically, you just have to create a dedicated wiki page
(Site.HtpasswdForm for example), as described by the cookbook recipe.
This page must be readable by everyone and editable by administrators only.
Also set the config. parameter:
$HtpasswordNewUsers = 1;
in the related configuration file to enable self-registration.
Then, the form rendered on the page will depend on the client
* not already authenticated user => a new name and password form definition
* previously authenticated user (page edited,...) => a single password
* admin user => the global htpasswd/htgroup administration form
More information about the pmwiki-users