pp wrote:
> > > [...]
> > > mgd_auth_midgard("author","x",0);
>
> this.....
>
>
> > What's the value of mgd_errstr() after this when the
> > mgd_get_topic_by_name fails?
> >
> > > $mgd=mgd_get_midgard();
> >
> > and the value of $mgd->sitegroup here?
>
> ...... and this should return SG0...
> am I right?
Depends. a non-qualified username like this means 'log me in as author
into whatever the SG is for the current host record'. So if the current
host is in SG0, you're requesting to be logged into SG), which will only
succeed if you're root. But if the host is not in SG0, ith will attempt
to log in this user as 'author+<currentsitegroup>'.
Emile
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]