Owen DeLong wrote:

OK... The suggestion I got here last night allowed me to get basic auth working
as desired, however, I have another problem.

I need to return in the reply a series of values for a given attribute, such as:

dn: uid=foo,ou=people,dc=zone,dc=example,dc=com
uid: foo
Attribute: first_value
Attribute: second_value
Attribute: third_value

I have LDAP Attribute mapped to Radius-Attribute in the ldap.attrmap.

However, when I query the server, I get back:

Radius-Attribute: first-value

And the second and third values are not returned.

Is there a way to make this work?


Either you put the += operator in the ldap attribute values:

Attribute: += first_value
Attribute: += second_value

or you edit ldap.attrmap to not use the = operator for that attribute but the += operator instead.


Thanks,

Owen

------------------------------------------------------------------------

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


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

Reply via email to