[sr-dev] [kamailio/kamailio] freeradius-client support for auth_radius on debian jessie (#2496)

Paris notifications at github.com
Mon Oct 5 12:21:09 CEST 2020


I've noticed that freeradius-client was missing so I created a new Dockerfile to handle this like so:

```
FROM kamailio/kamailio:5.3.1-jessie

RUN apt-get update 
RUN apt-get install -y --no-install-recommends ca-certificates build-essential git python python-pip python-setuptools file pkg-config

RUN cd /usr/local/src \
    && git clone https://github.com/FreeRADIUS/freeradius-client.git \
    && cd freeradius-client/ \
    && ./configure \
    && make \
    && make install

RUN ldconfig

EXPOSE 5060

ENTRYPOINT ["kamailio", "-DD", "-E"]
```

Running ldd on the auth_radius.so module afterwards, states:

```
root at bea2be591c38:/usr/lib/x86_64-linux-gnu/kamailio/modules# ldd auth_radius.so
	linux-vdso.so.1 (0x00007ffc503e5000)
	libfreeradius-client.so.2 => /usr/local/lib/libfreeradius-client.so.2 (0x00007faf7559e000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007faf751f3000)
	libcrypt.so.1 => /lib/x86_64-linux-gnu/libcrypt.so.1 (0x00007faf74fbc000)
	libnsl.so.1 => /lib/x86_64-linux-gnu/libnsl.so.1 (0x00007faf74da4000)
	/lib64/ld-linux-x86-64.so.2 (0x00007faf759c4000)
```

I am currently trying to build the auth_radius.so manually and see if something changes. I am currently getting a implicit declaration warning about `VENDOR()` which I am guess comes from `radcli`, although I explicitly run `FREERADIUS=1 make`

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/kamailio/kamailio/issues/2496#issuecomment-703541030
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kamailio.org/pipermail/sr-dev/attachments/20201005/29afca00/attachment.htm>


More information about the sr-dev mailing list