LDAP module for DHCP attribute

Alan DeKok aland at deployingradius.com
Mon Mar 21 18:36:24 CET 2016


On Mar 21, 2016, at 1:20 PM, Ryan O'Connell <ryno92109 at hotmail.com> wrote:
> 
> Looking to transition an exec module/script I have working to the LDAP module.  I am trying to return an option 43 string from LDAP in the reply but I can't seem to figure out the proper way to call the LDAP module correctly.  If I call the module in the dhcp site the only time I can get it to trigger is in the post-auth section of the LDAP module where it tries to update the user 'description' attribute that doesn't exist (expected of course but maybe relevant as background info?).

  You can do:

dhcp  DHCP-Request {
	...
	ldap.authorize
	...
}

  Which will run the "authorize" method of the LDAP module.

  Alan DeKok.




More information about the Freeradius-Users mailing list