intersvyaz / freeradius-mongodb Goto Github PK
View Code? Open in Web Editor NEWMongoDB module for FreeRADIUS
License: MIT License
MongoDB module for FreeRADIUS
License: MIT License
Hi, I'm trying to compile your module, but since I'm not a C programer I'm probably doing somthing wrong.
I've done this to complie your src code:
# autoconf
# ./configure
# mkdir build
# cd build
# cmake ..
# make
After doing this, i had all kind of problems with headers. I downloaded the freeradius src code, and include all the headers in /usr/include/freeradius
I had to change the code in some headers because they were pointing to #include <freeradius-develop/.h> so I change to <freeradius/.h>
After doing all of this, I started to have some errors in the compilation:
`[root@truss construccion]# make
[100%] Building C object CMakeFiles/rlm_mongodb.dir/rlm_mongodb.c.o
In file included from /usr/include/freeradius/connection.h:30:0,
from /usr/include/freeradius/radiusd.h:34,
from /usr/freeradius-mongodb/rlm_mongodb.c:1:
/usr/include/freeradius/stats.h:84:26: error: unknown type name ‘REQUEST’
void request_stats_final(REQUEST *request);
^
/usr/include/freeradius/stats.h:85:26: error: unknown type name ‘REQUEST’
void request_stats_reply(REQUEST *request);
^
In file included from /usr/include/freeradius/radiusd.h:34:0,
from /usr/freeradius-mongodb/rlm_mongodb.c:1:
/usr/include/freeradius/connection.h:156:62: error: unknown type name ‘REQUEST’
int fr_connection_pool_reconnect(fr_connection_pool_t *pool, REQUEST *request);
^
/usr/include/freeradius/connection.h:163:53: error: unknown type name ‘REQUEST’
void *fr_connection_get(fr_connection_pool_t *pool, REQUEST *request);
^
/usr/include/freeradius/connection.h:165:56: error: unknown type name ‘REQUEST’
void fr_connection_release(fr_connection_pool_t *pool, REQUEST *request, void *conn);
^
/usr/include/freeradius/connection.h:167:59: error: unknown type name ‘REQUEST’
void *fr_connection_reconnect(fr_connection_pool_t *pool, REQUEST *request, void *conn);
^
/usr/include/freeradius/connection.h:169:53: error: unknown type name ‘REQUEST’
int fr_connection_close(fr_connection_pool_t *pool, REQUEST *request, void *conn);
^
In file included from /usr/freeradius-mongodb/rlm_mongodb.c:1:0:
/usr/include/freeradius/radiusd.h:58:30: fatal error: freeradius/tls.h: No such file or directory
# include <freeradius/tls.h>
^
compilation terminated.
make[2]: *** [CMakeFiles/rlm_mongodb.dir/rlm_mongodb.c.o] Error 1
make[1]: *** [CMakeFiles/rlm_mongodb.dir/all] Error 2
make: *** [all] Error 2
`
Can you help me with this?
Kindly regards,
Rodrigo
Hi
We are using coovachilli into opnwrt & there is requirement to integrete freeradius service. & we want our backend in our mongodb.. Can you tell me your these current development working fine ? if yes then can you tell me how may i use these in opnwrt.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.