On 1 Feb, Paul Newby wrote:
> I've been struggling a bit with registration/authentication
> issues when the host is set up to not require authentication.
> Apparently mgd_create_person requires authentication,
> which makes self-registration difficult (impossible?).
Yes, this is a bit of a problem in Midgard's user
permissions model.
A solution to this we've been using at Stonesoft
is not to create the user directly with your PHP
script, but rather send the data to a back-end
application (in our case, a Perl script that parses
email sent by our production server) that has
needed permissions to do the operation.
At that point you can either do a SQL INSERT
or have your script send the data as parameters
to a Midgard page.
Things like these will be much easier once we
have language bindings to other scripting languages,
like Perl and Python.
We're creating the users this way mostly because
there is a firewall between our master server
and the production server the master server's
data gets replicated to. It is quite probable
that others on this list who are not limited by
network setups like this have come up with better
solutions.
I can send you the code we use tomorrow if you
want, though.
> Paul N.
/Bergie
--
-- Henri Bergius -- +358 40 525 1334 -- [EMAIL PROTECTED] --
http://www.iki.fi/Henri.Bergius
--
This is The Midgard Project's mailing list. For more information,
please visit the project's web site at http://www.midgard-project.org
To unsubscribe the list, send an empty email message to address
[EMAIL PROTECTED]