[imp] Confusion with imp_get_vinfo

Jorge Izquierdo jizquierdo@sgi.es
Wed, 06 Mar 2002 17:57:19 +0100


Please, if you understood the login process of IMP and the particular use of
the imp_get_vinfo function in this process, I will be very pleased if you could
explain it to me. I like to know how IMP get the server name to connect to IMAP
server and how can I modify the php code to select it when the user tries to
authenticate doing in that moment an LDAP query. what is the vdomain variable?

Thanks for your explanations in advance

Jorge



Edwin Culp wrote:

> Quoting Chuck Hagenbuch <chuck@horde.org>:
>
> > Quoting Edwin Culp <eculp@encontacto.net>:
> >
> > > To use virtual domains in courier without having to type the comple=
te
> > > username@domain.com but only the user name and using imp_get_vinfo =
in
> > > conf.php and called in login.inc the authentication process works
> > perfectly
> > > and I am able to login with no problems.  The problem is that all c=
alls
> > > to Auth::getAuth() return username@domain.com@mail.domain.com.
> >
> > You have a 'realm' setting in servers.php. Set it to ''.
>
> Chuck,
>
> Duh?  Duh?  That was it.  I set it so long ago that I had forgotten
> it even existed.  To make matters worse, I had it set as $HTTP_HOST.
> If it had not been changing with $vdomain, I MIGHT have found it.
>
> That is a releaf.  Thanks for the tip.  The good part is, I understand
> the login process much better, now:-)
>
> ed
>
> >
> > -chuck
> >
> > --
> > Charles Hagenbuch, <chuck@horde.org>
> > "A dream which helps you to live your reality with dignity
> >  and justice is a good dream." - Tariq Ramadan
> >
> > --
> > IMP mailing list: http://horde.org/imp/
> > Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> > Frequently Asked Questions: http://horde.org/faq/
> > To unsubscribe, mail: imp-unsubscribe@lists.horde.org
> >
> >
>
> -------------------------------------------------
>
> --
> IMP mailing list: http://horde.org/imp/
> Archive: http://marc.theaimsgroup.com/?l=imp&r=1&w=2
> Frequently Asked Questions: http://horde.org/faq/
> To unsubscribe, mail: imp-unsubscribe@lists.horde.org

--
----------------------------------------------------------
Jorge Izquierdo Alonso
e-mail: jizquierdo@sgi.es
Tfn: +34 91 806 16 00 (switchboard)
Fax: +34 91 806 16 99
SGI Soluciones Globales Internet
C/Isaac Newton nš 11
28760 Tres Cantos,  Madrid
http://www.sgi.es




>From chuck@horde.org Date: Wed,  6 Mar 2002 12:07:22 -0500
Return-Path: <chuck@horde.org>
Mailing-List: contact imp-help@lists.horde.org; run by ezmlm
Delivered-To: mailing list imp@lists.horde.org
Received: (qmail 15776 invoked from network); 6 Mar 2002 17:08:01 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.196.127)
  by clark.horde.org with SMTP; 6 Mar 2002 17:08:01 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id B25DA39E6; Wed,  6 Mar 2002 12:07:22 -0500 (EST)
Received: from 192.168.0.116 ( [192.168.0.116])
	as user chuck@localhost by marina.horde.org with HTTP;
	Wed,  6 Mar 2002 12:07:22 -0500
Message-ID: <1015434442.3c864cca8775b@marina.horde.org>
Date: Wed,  6 Mar 2002 12:07:22 -0500
From: Chuck Hagenbuch <chuck@horde.org>
To: imp@lists.horde.org
References: <Pine.GSO.4.21.0203060133070.28764-100000@carousel.tabcat.com>
In-Reply-To: <Pine.GSO.4.21.0203060133070.28764-100000@carousel.tabcat.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 4.0-cvs
Subject: Re: [imp] Undefined index: msgl

Quoting Apis Hytt <php3dev@carousel.tabcat.com>:

> 	O I saw this when I tried the CVS php-4.2-dev .. which is
> 		changing some of the index naming and testing funcs.

Can you explain what you mean by that?

-chuck

--
Charles Hagenbuch, <chuck@horde.org>
"A dream which helps you to live your reality with dignity
 and justice is a good dream." - Tariq Ramadan