Michael van Elst wrote:

On Sun, Aug 28, 2005 at 09:25:22PM +0200, [EMAIL PROTECTED] wrote:
Hi,

does anybody have a hint for me concerning the setup of sasl/ldap in a openpkg environment? Testing authentication using testsaslauthd like
auth1# /v/authback/sw/sbin/testsaslauthd -u test -p test
just returns the following line:

0: NO "authentication failed"

I don't see any binding request to ldap,

ldap_auth_method: bind

Is saslauthd started with '-a ldap'? sasl.spec does not put it into rc.sasl.

Do you really want 'ldap_auth_method: bind' ?

Does your SASL application allow to use plain passwords in the mech_list ?
Hi,

yes - sasld is started with -a ldap in rc.sasl (which defaults to getpwend as I remember).

root 25899 0.0 0.3 2424 1724 ?? Is Sat03PM 0:00.01 /v/authback/sw/sbin/saslauthd -a ldap -n 2 root 25901 0.0 0.3 2424 1724 ?? I Sat03PM 0:00.01 /v/authback/sw/sbin/saslauthd -a ldap -n 2

Why shouldn't I bind it to ldap? This is a very normal approach ...

There is no SASL application at the moment - I just test it with testsaslauthd (see email)

As I wrote in the first mail, this works pretty fine in other environments, but just doesn't work within openpkg and I don't have any hint to proceed, because even strace doesn't report any effort to request ldap (which it does within the very same configuration environment on "non openpkg environments").

Herb

root  25899  0.0  0.3  2424  1724  ??  Is   Sat03PM   0:00.01 
/v/authback/sw/sbin/saslauthd -a ldap -n 2
root  25901  0.0  0.3  2424  1724  ??  I    Sat03PM   0:00.01 
/v/authback/sw/sbin/saslauthd -a ldap -n 2


--
------------------------------------------------------------------------ Herbert Schmid phone: +49 (0)89 9 26 99-408
SpaceNet AG                             Fax:   +49 (0)89 9 26 99-316
Landsbergerstr. 155                     mailto: [EMAIL PROTECTED]
D-80687 München                         Internet: http://www.space.net
------------------------------------------------------------------------
______________________________________________________________________
The OpenPKG Project                                    www.openpkg.org
User Communication List                      openpkg-users@openpkg.org

Reply via email to