[imp] re: custom login

Mike Cochrane mike at graftonhall.co.nz
Fri Jan 24 22:53:06 PST 2003


No clue what you're trying to do or say here.... Are you trying to call the
Auth_custom class function from one of your own scripts?

If you just want to use this as your auth driver in horde then set
$conf['auth']['driver'] = 'custom';
And a params array with any values needed for the code you added to Auth_custom,
if any.

- Mike :-)

> ----- Message from jkpsj at yahoo.com ---------
>     Date: Fri, 24 Jan 2003 00:49:26 -0800 (PST)
>     From: jkpsj <jkpsj at yahoo.com>
> Reply-To: jkpsj <jkpsj at yahoo.com>
>  Subject: RE: [imp] re: custom login
>       To: Mike Cochrane <mike at graftonhall.co.nz>, Brent Meshier
<brent at meshier.com>
> 
> 
> being a class newbie, could you show how to call the Auth_custom class.
> appreciate your help.
> 
> rgds.
> jkpsj
> 
> 
> --- Mike Cochrane <mike at graftonhall.co.nz> wrote:
> > If you wan't it to log you into IMP, not just Horde then you'll need to use
> a
> > driver like the one i posted a link to previously.
> >
> >
>
http://www.graftonhall.co.nz/mikes/Horde%20Diffs/Custom%20Transparent%20Auth/custom.phps
> >
> > It logs you into horde and imp. See the comments in the file. Save the file
> as
> > custom.php in lib/auth and est the driver to custom.
> >
> > - Mike :-)
> >
> > > ----- Message from brent at meshier.com ---------
> > >     Date: Fri, 24 Jan 2003 01:40:51 -0500
> > >     From: Brent Meshier <brent at meshier.com>
> > > Reply-To: Brent Meshier <brent at meshier.com>
> > >  Subject: RE: [imp] re: custom login
> > >       To: 'Mike Cochrane' <mike at graftonhall.co.nz>
> > >
> > > I grabbed HEAD horde/imp from CVS.  My horde config looks like this:
> > >
> > > // What backend should we use for authenticating users to Horde? Valid
> > > // options are currently 'application', 'cyrsql', 'imap', 'ldap',
> > > // 'mcal', 'sql', 'customsql', 'ftp', 'smb', 'krb5', and 'radius'.
> > > $conf['auth']['driver'] = 'http';
> > >
> > > // An array holding any parameters that the Auth object will need to
> > > // function correctly.
> > > $conf['auth']['params'] = array();
> > >
> > > I edited http.php to manually set the username / password just to test
> > > it, but no luck!  Horde returns with an invalid login.  My thought is
> > > that it doesn't know what imap server to use.  Is there a way to pass
> > > along what server to use?  Incidentally, nothing is logged in
> > > /tmp/horde.log when using 'http' as my horde authentication.
> > >
> > > --Brent
> > > http://meshier.com/
> > >
> > > -----Original Message-----
> > > From: Mike Cochrane [mailto:mike at graftonhall.co.nz]
> > > Sent: Thursday, January 23, 2003 2:05 AM
> > > To: Brent Meshier
> > > Subject: RE: [imp] re: custom login
> > >
> > > You'll need the HEAD version of horde to do this:
> > > basically edit the http auth driver to get the login and password from
> > > the
> > > database instead of the http headers.
> > >
> > > I don't think this will be do-able in the RELEASE versions of Horde. I
> > > haven't
> > > used these versions for a long time.
> > >
> > > - Mike :-)
> > >
> > > > ----- Message from brent at meshier.com ---------
> > > >
> > > > I know the user's login and password (can pull it from the database).
> > > I want
> > > > them to click a link that says "Go to inbox" or something to that
> > > effect.  I
> > > > don't want to use forms or POST.  Ideally I'd like to encrypt their
> > > > login/password in to a string, pass it to horde, decrypt and redirect
> > > to
> > > > their inbox.  Everything I've seen requires posting a form.  I believe
> > > I need
> > > > to look in to horde/lib/auth but not sure how to implement that.
> > > >
> > > >
> > > > --Brent
> > >
> > >
> > >
> > >
> > > ----- End message from brent at meshier.com -----
> >
> >
> >
> >
> >
> > --
> > IMP mailing list
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe at lists.horde.org
> 
> 
> __________________________________________________
> Do you Yahoo!?
> Yahoo! Mail Plus - Powerful. Affordable. Sign up now.
> http://mailplus.yahoo.com
> 
> 
> 
> ----- End message from jkpsj at yahoo.com -----






More information about the imp mailing list