rlm_couchbase skipping attribute with no map entry

Alan DeKok aland at deployingradius.com
Mon Jan 8 17:53:58 CET 2018


On Jan 8, 2018, at 11:38 AM, Mike Lopes <mlopes at teksavvy.ca> wrote:
> 
> I just wanted to give an update on this since I'm still facing some issues.
> 
> I managed to resolve the issue with the attributes however, I am unable to establish a connection to our production couchbase server to send the accounting information.
> 
> After doing some back and forth with the couchbase devs,  I am being told that I need to add and environment setting so that libcouchbase can connect to an older couchbase server (one that I do not manage and have no visibility into).
> To be able to establish the connection I need to set this: LCB_OPTIONS=send_hello=false

  Arg... that's just stupid.

> Would it be possible to have a way to set environmental settings in /etc/raddb/mods-available/couchbase so that when I start radiusd service it sets the environment setting for couch base?

  Maybe.  But that's a *very* special use-case.

> My workaround right now is to set that environment in the radiusd.service file.  I was hoping to keep all the configuration inside the couchbase module file if at all possible.
> 
> Is this something that is possible to do?

  It would be best to add a patch which allows setting any environment variable in radiusd.conf.  That way the fix is simple, and generic.  So if anyone else runs into a similar problem, they don't have to re-create the fix.

  Alan DeKok.




More information about the Freeradius-Users mailing list