On Tue, 9 Apr 2002 [EMAIL PROTECTED] wrote:

> hi all
>    i'm here again sorry for boring you.i'm now use freeradius and openldap to 
>implement auth .i found that return of radius is through a function named 
>"ldap_pairget",the function use "ldap.attrmap" to look for valid attribute in ldap 
>and added it to request->reply->vps,but my problem is the attribue (for example 
>radiusCallbackId) is in ldap (i can search it with "./ldapsearch -x -b 
>"uid=uid6,cn=ctc,dc=maohua,dc=com" -s base 'radiusCallbackId'" ,return "#
> # filter: (objectclass=*)
> # requesting: radiusCallbackId
> #
>
> # uid6, ctc, maohua, com
> dn: uid=uid6,cn=ctc,dc=maohua,dc=com
> radiusCallbackId: 68730596
>
> # search result
> search: 2
> result: 0 Success
>
> # numResponses: 2
> # numEntries: 1
> ") everything looks ok,but when i use radtest send a packet to radius sever it 
>doesn't work,only the attribute i defined in "users" returned ,no attribue i wanted 
>in ldap ,why?
> i debug the rlm_ldap.c,in  function ldap_pairget,it calls the ldap api 
>"ldap_get_values(ld,entry,element->attr))",return is null,why?
> the world is full of problem,i feel so bad...........so any one has the answer?
> so kind of you ,thanks
>
> -
> List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>

Could you send the debuging logs (radiusd -X)?

--
Kostas Kalevras         Network Operations Center
[EMAIL PROTECTED]      National Technical University of Athens, Greece
Work Phone:             +30 10 7721861
'Go back to the shadow' Gandalf


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

Reply via email to