openldap, sasl, apache chicken and egg problem (Was: Re: More problems with apache)
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)
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)
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)
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]