Giter Club home page Giter Club logo

freeradius-mongodb's People

Contributors

gureedo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

ihafeez dougmpx

freeradius-mongodb's Issues

Problems at compilation.

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

how we can implement FreeRadius-mongodb in opnwrt ?

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.