how to return multiple attributes from ldap?

kevin kevinsmbox at earthlink.net
Wed Aug 10 00:10:17 CEST 2005


But, I am still interested in the way returning multiple attributes 
without changing ldap data.
I thought there must be a way. 

kevin

Dusty Doris wrote:

>On Tue, 9 Aug 2005, kevin wrote:
>
>  
>
>>What?  So, should I change the ldap attribute values with "+=" ???
>>Any other way?
>>
>>    
>>
>
>Yep, it works.
>
>I did a test, with this DN only one filter-id was returned.
>
>dn: uid=dustytest,ou=users,ou=radius,dc=test,dc=com
>objectClass: radiusprofile
>userPassword:: ZHVzdHl0ZXN0
>radiusGroupName: dial
>radiusGroupName: adsl
>uid: dustytest
>radiusFilterId: filter1
>radiusFilterId: filter2
>
>Received response ID 210, code 2, length = 59
>        Framed-Routing = None
>        Framed-IP-Netmask = 255.255.255.0
>        Framed-Protocol = PPP
>        Service-Type = Framed-User
>        Filter-Id = "filter1"
>
>
>With this dn, both were returned (note there were no quotes in it - that
>didn't work)
>
>dn: uid=dustytest,ou=users,ou=radius,dc=test,dc=com
>objectClass: radiusprofile
>userPassword:: ZHVzdHl0ZXN0
>radiusGroupName: dial
>radiusGroupName: adsl
>uid: dustytest
>radiusFilterId: += filter1
>radiusFilterId: += filter2
>
>Received response ID 214, code 2, length = 68
>        Framed-Routing = None
>        Framed-IP-Netmask = 255.255.255.0
>        Framed-Protocol = PPP
>        Service-Type = Framed-User
>        Filter-Id = "filter1"
>        Filter-Id = "filter2"
>
>- 
>List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html
>
>  
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20050809/95391bfa/attachment.html>


More information about the Freeradius-Users mailing list