[imp] Single signon between, horde+imp

Atif Ghaffar aghaffar@developer.ch
Wed, 14 Mar 2001 04:59:29 +0100


Atif Ghaffar wrote:
> 
> Hi.
> Is it possible that I can use the same login information from IMP to
> login to Turba or vice-verca?

Ill explain a bit more:

I log into imp and then if I want to use Turba/Kronolith I have to log
again in Horde, cause they are using 2 different auth sessions. (How can
I explain this to my users)

My $conf['auth']['driver'] = 'imap'; 
Horde::Auth is configured to authenticate from the same imap server as
IMP.

Isnt it possible for IMP to use the same Horde::Auth?
I checked the __auth session file. There is no password in there.
Is that the reason IMP cannot use Horde's Auth?

OK, lets use IMP's auth as the principal auth system.
Can I set Turba to allow as the same user who has logged into IMP?

A quick hack would be to make Auth::getAuth return the name of the user
who  is logged in IMP (has an imp session)
A less quick hack would be to write a Auth::IMP driver which does the
same thing.

I know that 
1) this is not very generic, its just for my system or for other people
running ISPs or Portals
2) I have pissed off a lot of Horde::Developers :)

but any help/pointers would be appreciated.

thnx