Steve Sobol <[EMAIL PROTECTED]> wrote:
> > > rlm_ldap: Attribute "Password" is required for authentication. Cannot use
> > > "Stripped-User-Name".
> >
> >   Ouch.  That's a bug in the server core.  The LDAP module is looking
> >at what SHOULD be the password for the request, but it looks like it's
> >set to something else.
> 
> But the server APPEARS to be passing the correct attribute to 
> ldap_authenticate().

  Are you sure?  Look at the log message.  It's using
'request->password', which is a short-hand for:

 pairfind(request->packet->vps, PW_USER_PASSWORD)


> PW_PASSWORD == 2, correct? That's what modcall.c is sending to the
> ldap module.  I say "appears" because I have tried inserting
> debugging statements into rlm_ldap.c using radlog AND DEBUG and I
> don't see any of those debugging statements showing up in the log
> files.

  Then you probably aren't linking to the new module.  For debugging
the server, it's probably best to statically link it.

  Alan DeKok.

- 
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html

Reply via email to