openldap, sasl, apache chicken and egg problem (Was: Re: More problems with apache)

2004-06-24 Thread Thomas Lotterer
On Wed, Jun 23, 2004, Alexander Belck wrote:

Alex, I'm lazy.

 2) openldap - sasl - apache  chicken-and-egg problem
 
Please browse or search the mailing list (i.e. MARC), this was discussed
before. Hint: http://marc.theaimsgroup.com/?l=openpkg-usersm=107091431817004

--
[EMAIL PROTECTED], Cable  Wireless
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: openldap, sasl, apache chicken and egg problem (Was: Re: More problems with apache)

2004-06-24 Thread alexb
I agree with the discution in the mailing list, but what isnĀ“t discused is the
requirements of apache --with_php_ldap.

I will have my credential in OpenLDAP and will uses sasl to allow postfix check
authentications against the LDAP, so just for this I build
OpenLDAP --without_sasl
sasl --with_ldap

But when I try to build apache with php_ldap (where I presume this module will
allow php to access ldap records), it requires that OpenLDAP should be build
with_sasl (as if necessarily to access openldap thru php it needs to
authenticate the access using sasl) ??

Thanks,

Alex

Citando Thomas Lotterer [EMAIL PROTECTED]:

 On Wed, Jun 23, 2004, Alexander Belck wrote:

 Alex, I'm lazy.

  2) openldap - sasl - apache  chicken-and-egg problem
 
 Please browse or search the mailing list (i.e. MARC), this was discussed
 before. Hint: http://marc.theaimsgroup.com/?l=openpkg-usersm=107091431817004

 --
 [EMAIL PROTECTED], Cable  Wireless
 __
 The OpenPKG Projectwww.openpkg.org
 User Communication List  [EMAIL PROTECTED]






This message was sent using IMP, the Internet Messaging Program.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: openldap, sasl, apache chicken and egg problem (Was: Re: More problems with apache)

2004-06-24 Thread Thomas Lotterer
On Thu, Jun 24, 2004, [EMAIL PROTECTED] wrote:

Re Alex,
 
  On Wed, Jun 23, 2004, Alexander Belck wrote:

 I will have my credential in OpenLDAP and will uses sasl to allow
 postfix check authentications against the LDAP, so just for this I
 build OpenLDAP --without_sasl sasl --with_ldap
 
I know a project that does exactly this, using apache/mod_auth_ldap to
login to a webinterface where mod_php_openldap changes user information
stored in openldap and postfix looking them up. Excerpts from the setup:

openldap-2.2.5-2.0.0 #no options
sasl-2.1.17-2.0.0 --with=ldap --with=login
postfix-2.0.18-2.0.0 --with=ldap --with=sasl --with=ssl
apache-1.3.29-2.0.0 \
--with=mod_auth_ldap \
--with=mod_php \
--with=mod_php_openldap \
--with=mod_ssl

Complete setup see ftp://ftp.zfos.org/brew/kolab/CFG/kolab-20040217-2.0.0/obmtool.conf

--
[EMAIL PROTECTED], Cable  Wireless
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: openldap, sasl, apache chicken and egg problem (Was: Re: More problems with apache)

2004-06-24 Thread Michael van Elst
On Thu, Jun 24, 2004 at 08:40:47AM -0300, [EMAIL PROTECTED] wrote:

 But when I try to build apache with php_ldap (where I presume this module will
 allow php to access ldap records), it requires that OpenLDAP should be build
 with_sasl (as if necessarily to access openldap thru php it needs to
 authenticate the access using sasl) ??

Building OpenLDAP with SASL is rarely required. It creates
a hen-and-egg problem with the usage of SASL with an LDAP
backend.

 openpkg build -Dwith_mod_php -Dwith_mod_php_openldap apache

should do the right thing regarding apache, php and ldap.
In particular it should require openldap without SASL support.


Greetings,
-- 
Michael van Elst
Internet: [EMAIL PROTECTED]
A potential Snark may lurk in every tree.
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]


Re: More problems with apache

2004-06-23 Thread Bill Campbell
On Wed, Jun 23, 2004, Alexander Belck wrote:
1) php-imap requires imap but I whant to use cyrus (as courier isn't avaible in
OpenPkg)

   As I pretend to use horde, that access an imap-server using php, I think I
   need php-imap, but I do not pretend to use Whashingtons imap implementation.
   Is this just a compile prerequisit ?

The imap it requires is only the libraries (most of the IMAP clients I've
seen are built around the U.W. c-client).  The server side of U.W. IMAP is
a separate openpkg package.

Bill
--
INTERNET:   [EMAIL PROTECTED]  Bill Campbell; Celestial Software LLC
UUCP:   camco!bill  PO Box 820; 6641 E. Mercer Way
FAX:(206) 232-9186  Mercer Island, WA 98040-0820; (206) 236-1676
URL: http://www.celestial.com/

When I hear a man applauded by the mob I always feel a pang of pity
for him.  All he has to do to be hissed is to live long enough.
-- H.L. Mencken, ``Minority Report''
__
The OpenPKG Projectwww.openpkg.org
User Communication List  [EMAIL PROTECTED]