Expand Ldap Attribute on Post-Auth section

Alan DeKok aland at deployingradius.com
Tue Jun 7 22:50:18 CEST 2011


Renan wrote:
> So all of the attributes are available except the ones that Ldap module
> fetched (for example: NT-Password, Password-With-Header, my custom
> defined: Aa, etc...). As a test, at my exec module I did: "env >>
> /tmp/temp_file.txt" to see wich variables are exported, here is the result:

  Come on... *read* the documentation.  An exec'd program gets passed a
limited subset of attributes.  A *module* gets passed all of the attributes.

  See rlm_example for a sample C module.  If you want access to multiple
attribute lists, use (a) rlm_perl, or (b) a C module.

  Alan DeKok.



More information about the Freeradius-Users mailing list