Values from LDAP
Ivan Kalik
tnt at kalik.net
Fri Aug 21 23:16:37 CEST 2009
>>> To being with I'd like to put 'mail' or 'ou' into the Reply-Message
>>> attribute - does anyone have any suggestions? (This is the first time
>>> I'm
>>> using LDAP, so please go easy if I've missed something obvious).
>>
>>Map the attributes in ldap.attrmap.
>
> Thanks for the prompt reply. I have put something in there:
> replyItem My-Email mail
>
> and I've tried things like %{My-Email} ... but that didn't work.
If you have defined My-Email in freeradius then it will be %{reply:My-Email}.
> Can you suggest a suitable way to use this?
replyItem Reply-Message mail
You can add += at the end if you might be sending more messages.
Ivan Kalik
Kalik Informatika ISP
More information about the Freeradius-Users
mailing list