On 14 Mar 2013, at 13:39, Robin Helgelin <[email protected]> wrote:

> On 14 mar 2013, at 11:06, Phil Mayers <[email protected]> wrote:
> 
>> On 03/13/2013 07:45 PM, Robin Helgelin wrote:
>> 
>>> First problem is that I need to rewrite the output from ldap to
>>> something the radius-client finds useful. But there are radius modules
>>> for rewriting things right?
>> 
>> Yes, though TBH manipulating LDAP DNs in unlang/attr_rewrite is going to be 
>> a pain. You might have to fall back on one of the scripting language 
>> modules, as Arran says.
> 
> Yes, I ended up writing a small python script, works very nicely :)
> 
> The only thing missing is if it's possible for the ldap module to set an 
> attribute with the users full dn to be available for the python module. 

That'd be the LDAP-UserDN attribute...

-Arran

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

Reply via email to