Can i run IMP associated with OpenLDAP on unix platform.

=?big5?B?ufmw6rvK?= tim at cht.com.tw
Tue Aug 7 00:26:15 PDT 2001


CXdoZW4gaSBmaW5pc2ggYWxsIHRoZSBzdGVwcyBwcm92aWRlZCBieSBzZXR1cC5waHAzICwgaXQg
ZW1lcmdlZCB0aGF0IG15IFBIUCBjb3VsZG4ndCBzdXBwb3J0IElNQVAgJiBMREFQIA0KYmVjYXVz
ZSBsYWNrIG9mIGltYXAuc28gJiBsZGFwLnNvKHdoaWNoIGkgYWRkZWQgdG8gdGhlIHBocDMuaW5p
IGV4dGVuc2lvbiBjbGF1c2UpICwgYnV0IGkganVzdCBjYW4ndCBmaW5kIGFueSBsZGFwLnNvIGZv
ciB1bml4ICwNCnRoZXkncmUgYWxsIGZvciB0aGUgbGludXggLiBhbnlib2R5IHdvdWxkIHRlbGwg
bWUgYW55IGhpbnRzICwgZ3JlYXQgYXBwcmVjaXRlcyAhISEgIA==



>From chuck at horde.org Date: Tue,  7 Aug 2001 11:38:46 -0400
Return-Path: <chuck at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 36800 invoked from network); 7 Aug 2001 15:40:40 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 7 Aug 2001 15:40:40 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 751183A04; Tue,  7 Aug 2001 11:38:46 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck at localhost by marina.horde.org with HTTP;
	Tue,  7 Aug 2001 11:38:46 -0400
Message-ID: <997198726.3b700b8655581 at marina.horde.org>
Date: Tue,  7 Aug 2001 11:38:46 -0400
From: Chuck Hagenbuch <chuck at horde.org>
To: horde at lists.horde.org
References: <3A2AF12EC5C8AE45B4EB90379D1235B9EC7EA0 at pnlmse04.pnl.gov>
In-Reply-To: <3A2AF12EC5C8AE45B4EB90379D1235B9EC7EA0 at pnlmse04.pnl.gov>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: RE: [horde] Authentication with SQL...

Quoting "Curtis, Darren S" <Darren.Curtis at pnl.gov>:

> Do you ever get any sleep :-)

Not so much, no. :)

> Is the table the database table that holds usernames
> and passwords? Isn't that what the horde_prefs table
> is for? If not, is there a table structure required
> or can you tell me what the query is so that I can
> create a table with usernames and passwords and whatever
> else is required?

horde_prefs is just for preferences. There's a uid there, but no password info; 
prefs and users are logically seperate entities. The horde_auth table structure 
is listed in the comments at the top of horde/lib/Auth/sql.php if nowhere else. 
A note: passwords are md5'd in the database, if you want to insert any accounts 
by hand.

> I am not sure what you mean by the 'horde' section. Which file?
> Can you copy/paste an example of the 'horde' section?

$this->applications['horde'] = array(
    'fileroot' => dirname(__FILE__) . '/..',
    'webroot' => '/horde',
    'initial_page' => 'login.php',
    'icon' => '/horde/graphics/login.gif',
    'name' => 'Horde',
    'allow_guests' => true,
    'show' => true,
    'templates' => dirname(__FILE__) . '/../templates',
    'cookie_domain' => $GLOBALS['HTTP_SERVER_VARS']['SERVER_NAME'],
    'cookie_path' => '/horde'
);


-chuck

--
Charles Hagenbuch, <chuck at horde.org>
Some fallen angels have their good reasons.


>From chuck at horde.org Date: Wed,  8 Aug 2001 10:22:50 -0400
Return-Path: <chuck at horde.org>
Mailing-List: contact horde-help at lists.horde.org; run by ezmlm
Delivered-To: mailing list horde at lists.horde.org
Received: (qmail 87530 invoked from network); 8 Aug 2001 14:24:44 -0000
Received: from h00104bc60b3c.ne.mediaone.net (HELO marina.horde.org) (24.91.198.7)
  by horde.org with SMTP; 8 Aug 2001 14:24:44 -0000
Received: by marina.horde.org (Postfix, from userid 33)
	id 75BA939F3; Wed,  8 Aug 2001 10:22:50 -0400 (EDT)
Received: from 206.243.191.252 ( [206.243.191.252])
	as user chuck at localhost by marina.horde.org with HTTP;
	Wed,  8 Aug 2001 10:22:50 -0400
Message-ID: <997280570.3b714b3a2b7a3 at marina.horde.org>
Date: Wed,  8 Aug 2001 10:22:50 -0400
From: Chuck Hagenbuch <chuck at horde.org>
To: horde at lists.horde.org
References: <3A2AF12EC5C8AE45B4EB90379D1235B9EC7EB7 at pnlmse04.pnl.gov>
In-Reply-To: <3A2AF12EC5C8AE45B4EB90379D1235B9EC7EB7 at pnlmse04.pnl.gov>
MIME-Version: 1.0
Content-Type: text/plain
Content-Transfer-Encoding: 8bit
User-Agent: Internet Messaging Program (IMP) 2.3.7-cvs
Subject: RE: [horde] Authentication with SQL...

Quoting "Curtis, Darren S" <Darren.Curtis at pnl.gov>:

> Thanks for the pointers and here is some information that
> may be useful in your documentation efforts.

Thanks for the feedback!

> The correct database structure for horde_auth login table is:

Ah, I thought this was already in the comments of sql.php. I'll add it.

> The PEAR DB/mysql.php version of quoteString simply replaces
> ticks (') with (\') which is equivalent to addslashes.

There was a lot of discussion of this on the lists lately; the behavior 
changed. You just need a more recent version of PEAR (from 4.0.7-cvs; you 
_don't_ need to recompile PHP). It adds the quotes for you.

-chuck

--
Charles Hagenbuch, <chuck at horde.org>
Some fallen angels have their good reasons.




More information about the horde mailing list