21 Mar
2016
21 Mar
'16
1:36 p.m.
On Mar 21, 2016, at 1:20 PM, Ryan O'Connell <ryno92109@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.